The purpose of this script is to make Buffer Overflows easier.
This assumes you are running a Kali OS system.
This has only been tested on Try Hack Me's
- Buffer Overflow Prep 1.1 OVERFLOW1
You will still need to provide an IP.
sudo ./BoF -fThis uses /usr/share/metasploit-framework/tools/exploit/pattern_create.rb to help start create the first payload.
In this example, lets assume the offset is around 400 bytes and the program range is between 1900 to 2000 bytes.
./BoF -pc 2400This allows an attacker to listen to a certain port if the desired program is running on a certain port you can listen too.
./BoF -nc -RH <RemoteIP> -RP <RemotePort>