hackingtool/hackingtool.py

123 lines
5.9 KiB
Python
Raw Normal View History

2023-03-04 15:02:23 +00:00
#!/usr/bin/env python3
2020-07-21 16:21:56 +00:00
# Version 1.1.0
2020-06-27 06:05:51 +00:00
import os
2023-03-04 15:02:23 +00:00
import sys
2020-06-27 06:05:51 +00:00
import webbrowser
from platform import system
from time import sleep
2020-07-18 18:28:01 +00:00
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
2020-07-18 18:28:01 +00:00
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 """
2020-07-18 18:28:01 +00:00
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')
2020-07-18 18:28:01 +00:00
2020-06-27 06:05:51 +00:00
if __name__ == "__main__":
try:
if system() == 'Linux':
2023-07-18 10:34:48 +00:00
fpath = os.path.expanduser("~/hackingtoolpath.txt")
if not os.path.exists(fpath):
2020-07-18 18:28:01 +00:00
os.system('clear')
# run.menu()
2020-07-07 07:43:11 +00:00
print("""
[@] Set Path (All your tools will be installed in that directory)
2020-07-18 18:28:01 +00:00
[1] Manual
[2] Default
2020-07-07 07:43:11 +00:00
""")
2023-03-04 15:02:23 +00:00
choice = input("Z4nzu =>> ").strip()
2020-07-18 18:28:01 +00:00
2020-07-07 07:43:11 +00:00
if choice == "1":
2023-03-04 15:02:23 +00:00
inpath = input("Enter Path (with Directory Name) >> ").strip()
2020-07-18 18:28:01 +00:00
with open(fpath, "w") as f:
f.write(inpath)
print("Successfully Set Path to: {}".format(inpath))
elif choice == "2":
2020-07-18 18:28:01 +00:00
autopath = "/home/hackingtool/"
with open(fpath, "w") as f:
f.write(autopath)
print("Your Default Path Is: {}".format(autopath))
2020-07-18 18:28:01 +00:00
sleep(3)
else:
2020-07-07 07:43:11 +00:00
print("Try Again..!!")
2023-03-04 15:02:23 +00:00
sys.exit(0)
with open(fpath) as f:
archive = f.readline()
2023-07-18 12:21:52 +00:00
os.makedirs(archive, exist_ok=True)
os.chdir(archive)
2022-06-15 11:26:49 +00:00
AllTools().show_options()
2020-07-18 18:28:01 +00:00
# If not Linux and probably Windows
2020-07-21 16:21:56 +00:00
elif system() == "Windows":
print(
2022-06-15 11:32:11 +00:00
r"\033[91m Please Run This Tool On A Debian System For Best Results\e[00m"
2022-06-15 11:26:49 +00:00
)
sleep(2)
2020-07-21 16:21:56 +00:00
webbrowser.open_new_tab("https://tinyurl.com/y522modc")
2020-07-18 18:28:01 +00:00
else:
print("Please Check Your System or Open New Issue ...")
2020-07-18 18:28:01 +00:00
except KeyboardInterrupt:
2020-07-18 18:28:01 +00:00
print("\nExiting ..!!!")
sleep(2)