bufferbomb's Introduction
#BufBomb CMU ##文件组织 ###hex文件夹下为带详细注释的输入文本文件 ###raw文件夹下为用hex2raw生成的程序可直接读入的文件 ###bin文件夹下为作业说明与可执行文件 ##解题思路: ###0-Candle:通过缓冲区溢出直接修改return address ###1-Sparkler:通过缓冲区溢出直接修改return address,同时注意栈中调用参数的位置 ###2-Firecracker:将汇编代码编译为机器码存入缓冲区,通过缓冲区溢出修改return address为之前写入的机器码位置 ###3-Dynamite:将汇编代码编译为机器码存入缓冲区,通过缓冲区溢出修改return address为之前写入的机器码位置,但要注意由于缓冲区溢出会破坏%ebp,故需要在汇编代码中恢复%ebp ###4-Nitroglycerin:将汇编代码编译为机器码存入缓冲区末尾,机器码之前的缓冲区使用0x90(NOP指令,no operation)占位,通过缓冲区溢出修改return address为缓冲区差不多中间的位置(这样即使缓冲区内存有部分位移由于NOP指令占位也可执行到机器码部分),但要注意由于缓冲区溢出会破坏%ebp,故需要在汇编代码中恢复%ebp ##测试环境: ###Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-53-generic x86_64) ##作者: ###张钰晖 ###学号:2015011372 ###Email:[email protected] ###Tel:185-3888-2881
bufferbomb's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.