-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoasttool.py
96 lines (80 loc) · 3.36 KB
/
toasttool.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/usr/bin/env python3
# Version 1.0.0
# Made By @iitztoasty
import os
import sys
import webbrowser
from platform import system
from time import sleep
from core import FingerOfGodCollection
from tools.anonsurf import AnonSurfTools
from tools.ddos import DDOSTools
from tools.tool_manager import ToolManager
logo = """\033[33m
______ ______ ______ ______ ______ ______ ______ ______ __
/\__ _\ /\ __ \ /\ __ \ /\ ___\ /\__ _\ /\__ _\ /\ __ \ /\ __ \ /\ \
\/_/\ \/ \ \ \/\ \ \ \ __ \ \ \___ \ \/_/\ \/ \/_/\ \/ \ \ \/\ \ \ \ \/\ \ \ \ \____
\ \_\ \ \_____\ \ \_\ \_\ \/\_____\ \ \_\ \ \_\ \ \_____\ \ \_____\ \ \_____\
\/_/ \/_____/ \/_/\/_/ \/_____/ \/_/ \/_/ \/_____/ \/_____/ \/_____/
\033[34m[✔] Fuck Your Free World [✔]
\033[34m[✔] Version 2.2.0 [✔]
\033[60m[X] Save The Children [X]
\033[91m[X] The End Is Near.. Revelation2:9 [X]
\033[97m """
all_tools = [
AnonSurfTools(),
DDOSTools(),
ReverseEngineeringTools(),
RemoteAdministrationTools(),
OtherTools(),
ToolManager()
]
class AllTools(FingerOfGodCollection):
TITLE = "All tools"
TOOLS = all_tools
def show_info(self):
print(logo + '\033[0m \033[97m')
if __name__ == "__main__":
try:
if system() == 'Linux':
fpath = os.path.expanduser("~/toasttoolpath.txt")
if not os.path.exists(fpath):
os.system('clear')
# run.menu()
print("""
[@] Set Path (All your tools will be installed in that directory)
[1] Manual
[2] Default
""")
choice = input("iiTzToasty =>> ").strip()
if choice == "1":
inpath = input("Enter Path (with Directory Name) >> ").strip()
with open(fpath, "w") as f:
f.write(inpath)
print("Successfully Set Path to: {}".format(inpath))
elif choice == "2":
autopath = "/home/toasttool/"
with open(fpath, "w") as f:
f.write(autopath)
print("Your Default Path Is: {}".format(autopath))
sleep(3)
else:
print("Try Again..!!")
sys.exit(0)
with open(fpath) as f:
archive = f.readline()
os.makedirs(archive, exist_ok=True)
os.chdir(archive)
AllTools().show_options()
# If not Linux and probably Windows
elif system() == "Windows":
print(
r"\033[91m Please Run This Tool On A Debian System For Best Results\e[00m"
)
sleep(2)
webbrowser.open_new_tab("https://tinyurl.com/win-WSL2")
else:
print("Please Check Your System or Open New Issue ...")
except KeyboardInterrupt:
print("\nExiting ..!!!")
sleep(2)