mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +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.
124 lines
6.0 KiB
Python
124 lines
6.0 KiB
Python
##!/usr/bin/env python3
|
|
# -*- coding: UTF-8 -*-
|
|
# Version 1.1.0
|
|
import os
|
|
import webbrowser
|
|
from platform import system
|
|
from time import sleep
|
|
|
|
from core import HackingToolsCollection
|
|
from tools.anonsurf import AnonSurfTools
|
|
from tools.ddos import DDOSTools
|
|
from tools.exploit_frameworks import ExploitFrameworkTools
|
|
from tools.forensic_tools import ForensicTools
|
|
from tools.information_gathering_tools import InformationGatheringTools
|
|
from tools.other_tools import OtherTools
|
|
from tools.payload_creator import PayloadCreatorTools
|
|
from tools.phising_attack import PhishingAttackTools
|
|
from tools.post_exploitation import PostExploitationTools
|
|
from tools.remote_administration import RemoteAdministrationTools
|
|
from tools.reverse_engineering import ReverseEngineeringTools
|
|
from tools.sql_tools import SqlInjectionTools
|
|
from tools.steganography import SteganographyTools
|
|
from tools.tool_manager import ToolManager
|
|
from tools.webattack import WebAttackTools
|
|
from tools.wireless_attack_tools import WirelessAttackTools
|
|
from tools.wordlist_generator import WordlistGeneratorTools
|
|
from tools.xss_attack import XSSAttackTools
|
|
|
|
logo = """\033[33m
|
|
▄█ █▄ ▄████████ ▄████████ ▄█ ▄█▄ ▄█ ███▄▄▄▄ ▄██████▄ ███ ▄██████▄ ▄██████▄ ▄█
|
|
███ ███ ███ ███ ███ ███ ███ ▄███▀ ███ ███▀▀▀██▄ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███
|
|
███ ███ ███ ███ ███ █▀ ███▐██▀ ███▌ ███ ███ ███ █▀ ▀███▀▀██ ███ ███ ███ ███ ███
|
|
▄███▄▄▄▄███▄▄ ███ ███ ███ ▄█████▀ ███▌ ███ ███ ▄███ ███ ▀ ███ ███ ███ ███ ███
|
|
▀▀███▀▀▀▀███▀ ▀███████████ ███ ▀▀█████▄ ███▌ ███ ███ ▀▀███ ████▄ ███ ███ ███ ███ ███ ███
|
|
███ ███ ███ ███ ███ █▄ ███▐██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
|
|
███ ███ ███ ███ ███ ███ ███ ▀███▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███▌ ▄
|
|
███ █▀ ███ █▀ ████████▀ ███ ▀█▀ █▀ ▀█ █▀ ████████▀ ▄████▀ ▀██████▀ ▀██████▀ █████▄▄██
|
|
▀ ▀
|
|
\033[34m[✔] https://github.com/Z4nzu/hackingtool [✔]
|
|
\033[34m[✔] Version 1.1.0 [✔]
|
|
\033[91m[X] Please Don't Use For illegal Activity [X]
|
|
\033[97m """
|
|
|
|
all_tools = [
|
|
AnonSurfTools(),
|
|
InformationGatheringTools(),
|
|
WordlistGeneratorTools(),
|
|
WirelessAttackTools(),
|
|
SqlInjectionTools(),
|
|
PhishingAttackTools(),
|
|
WebAttackTools(),
|
|
PostExploitationTools(),
|
|
ForensicTools(),
|
|
PayloadCreatorTools(),
|
|
ExploitFrameworkTools(),
|
|
ReverseEngineeringTools(),
|
|
DDOSTools(),
|
|
RemoteAdministrationTools(),
|
|
XSSAttackTools(),
|
|
SteganographyTools(),
|
|
OtherTools(),
|
|
ToolManager()
|
|
]
|
|
|
|
|
|
class AllTools(HackingToolsCollection):
|
|
TITLE = "All tools"
|
|
TOOLS = all_tools
|
|
|
|
def show_info(self):
|
|
print(logo + '\033[0m \033[97m')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
if system() == 'Linux':
|
|
fpath = "/home/hackingtoolpath.txt"
|
|
if not os.path.exists(fpath):
|
|
os.system('clear')
|
|
# run.menu()
|
|
print("""
|
|
[@] Set Path (All your tools will be install in that directory)
|
|
[1] Manual
|
|
[2] Default
|
|
""")
|
|
choice = input("Z4nzu =>> ")
|
|
|
|
if choice == "1":
|
|
inpath = input("Enter Path (with Directory Name) >> ")
|
|
with open(fpath, "w") as f:
|
|
f.write(inpath)
|
|
print("Successfully Path Set...!!")
|
|
elif choice == "2":
|
|
autopath = "/home/hackingtool/"
|
|
with open(fpath, "w") as f:
|
|
f.write(autopath)
|
|
print(f"Your Default Path Is:- {autopath}")
|
|
sleep(3)
|
|
else:
|
|
print("Try Again..!!")
|
|
exit(0)
|
|
|
|
with open(fpath) as f:
|
|
archive = f.readline()
|
|
if not os.path.exists(archive):
|
|
os.mkdir(archive)
|
|
os.chdir(archive)
|
|
all_tools = AllTools()
|
|
all_tools.show_options()
|
|
|
|
# If not Linux and probably Windows
|
|
elif system() == "Windows":
|
|
print(
|
|
"\033[91m Please Run This Tool In Debian System For Best Result " "\e[00m")
|
|
sleep(2)
|
|
webbrowser.open_new_tab("https://tinyurl.com/y522modc")
|
|
|
|
else:
|
|
print("Please Check Your Sytem or Open new issue ...")
|
|
|
|
except KeyboardInterrupt:
|
|
print("\nExiting ..!!!")
|
|
sleep(2)
|