当前位置:网站首页>Introduction to PWN (1) binary Basics
Introduction to PWN (1) binary Basics
2022-06-28 13:24:00 【Day-3】
1 PWN What is it? ?
Crack 、 Use success ( Binary vulnerability of the program )
Break through ( equipment 、 The server )
control ( equipment 、 The server )
exploit: Scripts and scenarios for attacks
payload: Attack load , Yes, the target process is hijacked to control the flow of data
shellcode: Call the target's shell Code
2 Compiling and linking of programs
from C The generation process from source code to executable file
- compile : from C Language code generates assembly code .
- assembly : Generating machine code from assembly code .
- link : Link the target files of multiple machine codes into an executable file .

Convert code to assembly code :
gcc -S test.c
3 Linux Executable file format under ELF
What is an executable ?
- In a broad sense : The data in the file is the file of executable code (out exe sh py)
- narrow sense : The data in the file is the file of machine code (out exe dll so)
Classification of executable files - Windows:PE(Portable Executable)
- Executable program exe
- Dynamic link library dll
- Static link library lib
- Linux:ELF(Executable and LInkable Format)
- Executable program out
- Dynamic link library so
- Static link library a




4 Process virtual address space





All local variables are stored on the stack .


5 Program loading and process execution



6 ×86&amd64 Compilation Overview





Little knowledge points
- vim The command to replace a file with a binary file %!xxd, Restored commands %!xxd - r.
边栏推荐
- 词云的可视化设计教程
- How to find opportunities in a bear market?
- 真香啊!最全的 Pycharm 常用快捷键大全!
- STM32F1与STM32CubeIDE编程实例-矩阵键盘驱动
- ##测试bug常用“Redmine”
- 完全背包 初学篇「建议收藏」
- [today in history] June 28: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born
- Manjaro easyconnecy error: libgtk-x11-2.0 so. 0: cannot open shared object file: No such file or directory
- Oracle cloud infrastructure extends distributed cloud services to provide organizations with greater flexibility and controllability
- China Database Technology Conference (DTCC) specially invited experts from Kelan sundb database to share
猜你喜欢

Elastic box auto wrap demo

中国数据库技术大会(DTCC)特邀科蓝SUNDB数据库专家精彩分享

腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”

Stackoverflow 2022 database annual survey

Realization of a springboard machine

1015. picking flowers

The press conference of Tencent cloud Database & CSDN engineer's ability lightweight certification is coming

Copy 10 for one article! The top conference papers published in South Korea were exposed to be plagiarized, and the first author was "original sin"?

SHAREit实力出众,登陆全球 IAP 实力榜 Top7

PHP抓取网页获取特定信息
随机推荐
PHP obtains the beginning and end time of the month according to the month and year
5A同步整流芯片 20V转12V2A/5V4.5A大电流 24W大功率同步整流芯片 大电流降压IC FS2462
Centos7——安装mysql5.7
Centos7: switch MySQL users and log in to MySQL
投资98万美元的Saas项目失败了
Align content attribute in flex layout
[today in history] June 28: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born
其他国产手机未能填补华为的空缺,苹果在高端手机市场已无对手
Mature case and source code of hash quiz game system development technology
c语言中的类结构体-点号
Forecast and Analysis on market scale and development trend of China's operation and maintenance security products in 2022
新品体验:阿里云新一代本地SSD实例i4开放公测
matlab plotyy 坐标轴设置,[转载]Matlab plotyy画双纵坐标图实例[通俗易懂]
(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)
Electronic components distribution 1billion Club [easy to understand]
PHP根据年月获取月初月末时间
align-items 与 align-content 的区别
海思35xx实现GT911触摸屏功能「建议收藏」
Implementation of fruit and vegetable mall management system based on SSM
Google Earth Engine(GEE)——联合国粮农组织全球有机土壤面积(1992-2018年度)



