These scripts are used for educationnal purposes only.
-
First disable ASLR :
sudo echo 0 > /proc/sys/kernel/randomize_va_space
-
In a directory of your choice copy the repo :
git clone https://github.com/XenorInspire/Exploit-BufferOverflow
-
Move in the directory :
cd Exploit-BufferOverflow/
-
Execute the script.
formatString.sh
use exploit002 binary.
exploitBof.sh
use tobof binary.