This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I am trying to learn buffer overflow with Immunity Debugger and Vulnserver. I reached the fuzzing phase and I am trying to use the below python script:
#!/usr/bin/python
import sys, socket
from time import sleep
buffer = "A" * 100
while True:
try:
s = socket.scoket(socket.AF\_INET, socket.SOCK\_STREAM)
sconnect(('<IP of the vulnserver>', 9999))
s.send(('TRUN /.:/' buffer))
s.close()
sleep(1)
buffer = buffer "A" \* 100
except:
print("Fuzzing crashed at %s bytes" % str(len(buffer)))
sys.exit()
Yet, when I execute the script I instantly receive this message:
./fuzzing.py
Fuzzing crashed at 100 bytes
When I check the Immunity Debugger nothing happened, it didn't pause as expected, while in the Vulnserver I cannot see any connections. Any idea why? I Googled it and I cannot find any solutions.
Thank you.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Hacking_Tut...