mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-15 04:05:29 +00:00
eaa920a7e3
List of changes + Handling information about a tool has been improved a lot by providing a `HackingTool` class, which takes care of showing the options, running the selected option, executing the required commands + This class is designed with flexibililty and simplicity in mind, so adding a new tool is a lot easier, mention TITLE, DESCRIPTION, list of INSTALL_COMMANDS, RUN_COMMANDS and PROJECT_URL and there you go... + grouping all the `HackingTool`s is also made super simpler by providing a `HackingToolsCollection` class which groups the tools into their respective categories. Just add the instances of `HackingTool` classes to the TOOLS property of the `HackingToolsCollection`. + Refactored all the tools into separate files based on their categories. + Added a READM_template.md and generate_readme.py script to automatically generate Table of contents and the list of tools available automatically. + Now each tool in the README.md points to its project url if provided. This makes it easier to visit the project from the readme.
78 lines
2.5 KiB
Python
78 lines
2.5 KiB
Python
# coding=utf-8
|
|
import os
|
|
import subprocess
|
|
|
|
from core import HackingTool
|
|
from core import HackingToolsCollection
|
|
|
|
|
|
class SlowLoris(HackingTool):
|
|
TITLE = "SlowLoris"
|
|
DESCRIPTION = "Slowloris is basically an HTTP Denial of Service attack." \
|
|
"It send lots of HTTP Request"
|
|
INSTALL_COMMANDS = ["sudo pip install slowloris"]
|
|
|
|
def run(self):
|
|
target_site = input("Enter Target Site:- ")
|
|
subprocess.run(["slowloris", target_site])
|
|
|
|
|
|
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."
|
|
INSTALL_COMMANDS = [
|
|
"git clone https://github.com/fatih4842/aSYNcrone.git",
|
|
"cd aSYNcrone;sudo gcc aSYNcrone.c -o aSYNcrone -lpthread"
|
|
]
|
|
PROJECT_URL = "https://github.com/fatihsnsy/aSYNcrone"
|
|
|
|
def run(self):
|
|
source_port = input("Enter Source Port >> ")
|
|
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])
|
|
|
|
|
|
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"
|
|
INSTALL_COMMANDS = [
|
|
"sudo git clone https://github.com/epsylon/ufonet.git",
|
|
"cd ufonet;sudo python setup.py install"
|
|
]
|
|
RUN_COMMANDS = ["sudo ./ufonet --gui"]
|
|
PROJECT_URL = "https://github.com/epsylon/ufonet"
|
|
|
|
|
|
class GoldenEye(HackingTool):
|
|
TITLE = "GoldenEye"
|
|
DESCRIPTION = "GoldenEye is an 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"
|
|
]
|
|
PROJECT_URL = "https://github.com/jseidl/GoldenEye"
|
|
|
|
def run(self):
|
|
os.system("cd GoldenEye ;sudo ./goldeneye.py")
|
|
print("\033[96m Go to Directory \n "
|
|
"[*] USAGE: ./goldeneye.py <url> [OPTIONS]")
|
|
|
|
|
|
class DDOSTools(HackingToolsCollection):
|
|
TITLE = "DDOS Attack Tools"
|
|
TOOLS = [
|
|
SlowLoris(),
|
|
Asyncrone(),
|
|
UFONet(),
|
|
GoldenEye()
|
|
]
|