From 565f9e419d03ae03f799ea5dcb8c1ac56c3acced Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 17 Jul 2023 22:31:48 +0200 Subject: [PATCH 1/5] Update ddos.py to fix SyntaxError --- tools/ddos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ddos.py b/tools/ddos.py index de70cac..3fad895 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -87,7 +87,9 @@ class GoldenEye(HackingTool): def run(self): os.system("cd GoldenEye ;sudo ./goldeneye.py") print("\033[96m Go to Directory \n " - "[*] USAGE: ./goldeneye.py [OPTIONS]")\ + "[*] USAGE: ./goldeneye.py [OPTIONS]") + + class Saphyra(HackingTool): TITLE = "SaphyraDDoS" DESCRIPTION = "A complex python code to DDoS any website with a very easy usage.!\n" From dcbca630fdecbdc47c3fdfb657d36b5f23d5a7b8 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 17 Jul 2023 22:33:57 +0200 Subject: [PATCH 2/5] Update ddos.py to fix SyntexError --- tools/ddos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ddos.py b/tools/ddos.py index 3fad895..3931d5e 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -90,7 +90,7 @@ class GoldenEye(HackingTool): "[*] USAGE: ./goldeneye.py [OPTIONS]") - class Saphyra(HackingTool): +class Saphyra(HackingTool): TITLE = "SaphyraDDoS" DESCRIPTION = "A complex python code to DDoS any website with a very easy usage.!\n" INSTALL_COMMANDS = [ From c03363dde075b6c36d73ea738cfb9b2a06a97845 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 18 Jul 2023 05:33:23 +0200 Subject: [PATCH 3/5] Fix indentation in ddos.py --- tools/ddos.py | 105 +++++++++++++++++++++++++++++--------------------- 1 file changed, 62 insertions(+), 43 deletions(-) diff --git a/tools/ddos.py b/tools/ddos.py index 3931d5e..e89b7ac 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -5,15 +5,18 @@ import subprocess from core import HackingTool from core import HackingToolsCollection + class ddos(HackingTool): - TITLE ="ddos" - DESCRIPTION = "Best DDoS Attack Script With 36 Plus Methods." \ - "DDoS attacks\n\b " \ - "for SECURITY TESTING PURPOSES ONLY! " - + TITLE = "ddos" + DESCRIPTION = ( + "Best DDoS Attack Script With 36 Plus Methods." + "DDoS attacks\n\b " + "for SECURITY TESTING PURPOSES ONLY! " + ) + INSTALL_COMMANDS = [ "git clone https://github.com/the-deepnet/ddos.git", - "cd ddos;sudo pip3 install -r requirements.txt" + "cd ddos;sudo pip3 install -r requirements.txt", ] PROJECT_URL = "https://github.com/the-deepnet/ddos.git" @@ -25,14 +28,27 @@ class ddos(HackingTool): multiple = input(" Enter Multiple >> ") timer = input(" Enter Timer >> ") os.system("cd ddos;") - subprocess.run([ - "sudo", "python3 ddos", method, url, "socks_type5.4.1", threads, proxylist, multiple, timer]) + subprocess.run( + [ + "sudo", + "python3 ddos", + method, + url, + "socks_type5.4.1", + threads, + proxylist, + multiple, + timer, + ] + ) class SlowLoris(HackingTool): TITLE = "SlowLoris" - DESCRIPTION = "Slowloris is basically an HTTP Denial of Service attack." \ - "It send lots of HTTP Request" + DESCRIPTION = ( + "Slowloris is basically an HTTP Denial of Service attack." + "It send lots of HTTP Request" + ) INSTALL_COMMANDS = ["sudo pip3 install slowloris"] def run(self): @@ -42,12 +58,14 @@ class SlowLoris(HackingTool): class Asyncrone(HackingTool): TITLE = "Asyncrone | Multifunction SYN Flood DDoS Weapon" - DESCRIPTION = "aSYNcrone is a C language based, mulltifunction SYN Flood " \ - "DDoS Weapon.\nDisable the destination system by sending a " \ - "SYN packet intensively to the destination." + DESCRIPTION = ( + "aSYNcrone is a C language based, mulltifunction SYN Flood " + "DDoS Weapon.\nDisable the destination system by sending a " + "SYN packet intensively to the destination." + ) INSTALL_COMMANDS = [ "git clone https://github.com/fatih4842/aSYNcrone.git", - "cd aSYNcrone;sudo gcc aSYNcrone.c -o aSYNcrone -lpthread" + "cd aSYNcrone;sudo gcc aSYNcrone.c -o aSYNcrone -lpthread", ] PROJECT_URL = "https://github.com/fatihsnsy/aSYNcrone" @@ -56,19 +74,22 @@ class Asyncrone(HackingTool): target_ip = input("Enter Target IP >> ") target_port = input("Enter Target port >> ") os.system("cd aSYNcrone;") - subprocess.run([ - "sudo", "./aSYNcrone", source_port, target_ip, target_port, 1000]) + subprocess.run( + ["sudo", "./aSYNcrone", source_port, target_ip, target_port, 1000] + ) class UFONet(HackingTool): TITLE = "UFOnet" - DESCRIPTION = "UFONet - is a free software, P2P and cryptographic " \ - "-disruptive \n toolkit- that allows to perform DoS and " \ - "DDoS attacks\n\b " \ - "More Usage Visit" + DESCRIPTION = ( + "UFONet - is a free software, P2P and cryptographic " + "-disruptive \n toolkit- that allows to perform DoS and " + "DDoS attacks\n\b " + "More Usage Visit" + ) INSTALL_COMMANDS = [ "sudo git clone https://github.com/epsylon/ufonet.git", - "cd ufonet;sudo python3 setup.py install;sudo pip3 install GeoIP;sudo pip3 install python-geoip;sudo pip3 install pygeoip;sudo pip3 install requests;sudo pip3 install pycrypto;sudo pip3 install pycurl;sudo pip3 install whois;sudo pip3 install scapy-python3" + "cd ufonet;sudo python3 setup.py install;sudo pip3 install GeoIP;sudo pip3 install python-geoip;sudo pip3 install pygeoip;sudo pip3 install requests;sudo pip3 install pycrypto;sudo pip3 install pycurl;sudo pip3 install whois;sudo pip3 install scapy-python3", ] RUN_COMMANDS = ["sudo python3 ufonet --gui"] PROJECT_URL = "https://github.com/epsylon/ufonet" @@ -76,8 +97,10 @@ class UFONet(HackingTool): class GoldenEye(HackingTool): TITLE = "GoldenEye" - DESCRIPTION = "GoldenEye is a python3 app for SECURITY TESTING PURPOSES ONLY!\n" \ - "GoldenEye is a HTTP DoS Test Tool." + DESCRIPTION = ( + "GoldenEye is a python3 app for SECURITY TESTING PURPOSES ONLY!\n" + "GoldenEye is a HTTP DoS Test Tool." + ) INSTALL_COMMANDS = [ "sudo git clone https://github.com/jseidl/GoldenEye.git;" "chmod -R 755 GoldenEye" @@ -86,22 +109,23 @@ class GoldenEye(HackingTool): def run(self): os.system("cd GoldenEye ;sudo ./goldeneye.py") - print("\033[96m Go to Directory \n " - "[*] USAGE: ./goldeneye.py [OPTIONS]") + print( + "\033[96m Go to Directory \n " "[*] USAGE: ./goldeneye.py [OPTIONS]" + ) class Saphyra(HackingTool): - TITLE = "SaphyraDDoS" - DESCRIPTION = "A complex python code to DDoS any website with a very easy usage.!\n" - INSTALL_COMMANDS = [ - "sudo su", - "git clone https://github.com/anonymous24x7/Saphyra-DDoS.git", - "cd Saphyra-DDoS", - "chmod +x saphyra.py", - "python saphyra.py" - ] - PROJECT_URL = "https://github.com/anonymous24x7/Saphyra-DDoS" - + TITLE = "SaphyraDDoS" + DESCRIPTION = "A complex python code to DDoS any website with a very easy usage.!\n" + INSTALL_COMMANDS = [ + "sudo su", + "git clone https://github.com/anonymous24x7/Saphyra-DDoS.git", + "cd Saphyra-DDoS", + "chmod +x saphyra.py", + "python saphyra.py", + ] + PROJECT_URL = "https://github.com/anonymous24x7/Saphyra-DDoS" + def run(self): url = input("Enter url>>> ") try: @@ -109,12 +133,7 @@ class Saphyra(HackingTool): except: print("Enter a valid url.") + class DDOSTools(HackingToolsCollection): TITLE = "DDOS Attack Tools" - TOOLS = [ - SlowLoris(), - Asyncrone(), - UFONet(), - GoldenEye(), - Syphra() - ] + TOOLS = [SlowLoris(), Asyncrone(), UFONet(), GoldenEye(), Syphra()] From 0db4d7e3368d16248d3556b97371592f8ef02512 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 18 Jul 2023 05:37:05 +0200 Subject: [PATCH 4/5] Update ddos.py --- tools/ddos.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/ddos.py b/tools/ddos.py index e89b7ac..0dbeccf 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -109,9 +109,7 @@ class GoldenEye(HackingTool): def run(self): os.system("cd GoldenEye ;sudo ./goldeneye.py") - print( - "\033[96m Go to Directory \n " "[*] USAGE: ./goldeneye.py [OPTIONS]" - ) + print("\033[96m Go to Directory \n [*] USAGE: ./goldeneye.py [OPTIONS]") class Saphyra(HackingTool): @@ -130,7 +128,7 @@ class Saphyra(HackingTool): url = input("Enter url>>> ") try: os.system("python saphyra.py " + url) - except: + except Exception: print("Enter a valid url.") From 3a00eb0ac52e911340743b952ebda87dc35dee17 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 18 Jul 2023 05:40:09 +0200 Subject: [PATCH 5/5] ddos.py: Spell Saphyra correctly --- tools/ddos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ddos.py b/tools/ddos.py index 0dbeccf..f9e9337 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -134,4 +134,4 @@ class Saphyra(HackingTool): class DDOSTools(HackingToolsCollection): TITLE = "DDOS Attack Tools" - TOOLS = [SlowLoris(), Asyncrone(), UFONet(), GoldenEye(), Syphra()] + TOOLS = [SlowLoris(), Asyncrone(), UFONet(), GoldenEye(), Saphyra()]