You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
Merge pull request #119 from mokrunka/master
update some typos; clearly print the path for install
This commit is contained in:
13
core.py
13
core.py
@ -65,17 +65,15 @@ class HackingTool(object):
|
|||||||
desc += '\n\t[*] '
|
desc += '\n\t[*] '
|
||||||
desc += self.PROJECT_URL
|
desc += self.PROJECT_URL
|
||||||
os.system(f'echo "{desc}"|boxes -d boy | lolcat')
|
os.system(f'echo "{desc}"|boxes -d boy | lolcat')
|
||||||
# print(desc)
|
|
||||||
|
|
||||||
def show_options(self, parent = None):
|
def show_options(self, parent = None):
|
||||||
clear_screen()
|
clear_screen()
|
||||||
self.show_info()
|
self.show_info()
|
||||||
for index, option in enumerate(self.OPTIONS):
|
for index, option in enumerate(self.OPTIONS):
|
||||||
print("[{:2}] {}".format(index + 1, option[0]))
|
print(f"[{index + 1}] {option[0]}")
|
||||||
if self.PROJECT_URL:
|
if self.PROJECT_URL:
|
||||||
print("[{:2}] {}".format(98, "Open project page"))
|
print(f"[{98}] Open project page")
|
||||||
print("[{:2}] {}".format(
|
print(f"[{99}] Back to {parent.TITLE if parent is not None else 'Exit'}")
|
||||||
99, ("Back to " + parent.TITLE) if parent is not None else "Exit"))
|
|
||||||
option_index = input("Select an option : ")
|
option_index = input("Select an option : ")
|
||||||
try:
|
try:
|
||||||
option_index = int(option_index)
|
option_index = int(option_index)
|
||||||
@ -162,9 +160,8 @@ class HackingToolsCollection(object):
|
|||||||
clear_screen()
|
clear_screen()
|
||||||
self.show_info()
|
self.show_info()
|
||||||
for index, tool in enumerate(self.TOOLS):
|
for index, tool in enumerate(self.TOOLS):
|
||||||
print("[{:2}] {}".format(index, tool.TITLE))
|
print(f"[{index} {tool.TITLE}")
|
||||||
print("[{:2}] {}".format(
|
print(f"[{99}] Back to {parent.TITLE if parent is not None else 'Exit'}")
|
||||||
99, ("Back to " + parent.TITLE) if parent is not None else "Exit"))
|
|
||||||
tool_index = input("Choose a tool to proceed: ")
|
tool_index = input("Choose a tool to proceed: ")
|
||||||
try:
|
try:
|
||||||
tool_index = int(tool_index)
|
tool_index = int(tool_index)
|
||||||
|
@ -79,7 +79,7 @@ if __name__ == "__main__":
|
|||||||
os.system('clear')
|
os.system('clear')
|
||||||
# run.menu()
|
# run.menu()
|
||||||
print("""
|
print("""
|
||||||
[@] Set Path (All your tools will be install in that directory)
|
[@] Set Path (All your tools will be installed in that directory)
|
||||||
[1] Manual
|
[1] Manual
|
||||||
[2] Default
|
[2] Default
|
||||||
""")
|
""")
|
||||||
@ -89,12 +89,12 @@ if __name__ == "__main__":
|
|||||||
inpath = input("Enter Path (with Directory Name) >> ")
|
inpath = input("Enter Path (with Directory Name) >> ")
|
||||||
with open(fpath, "w") as f:
|
with open(fpath, "w") as f:
|
||||||
f.write(inpath)
|
f.write(inpath)
|
||||||
print("Successfully Path Set...!!")
|
print(f"Successfully Set Path to: {inpath}")
|
||||||
elif choice == "2":
|
elif choice == "2":
|
||||||
autopath = "/home/hackingtool/"
|
autopath = "/home/hackingtool/"
|
||||||
with open(fpath, "w") as f:
|
with open(fpath, "w") as f:
|
||||||
f.write(autopath)
|
f.write(autopath)
|
||||||
print(f"Your Default Path Is:- {autopath}")
|
print(f"Your Default Path Is: {autopath}")
|
||||||
sleep(3)
|
sleep(3)
|
||||||
else:
|
else:
|
||||||
print("Try Again..!!")
|
print("Try Again..!!")
|
||||||
@ -111,12 +111,12 @@ if __name__ == "__main__":
|
|||||||
# If not Linux and probably Windows
|
# If not Linux and probably Windows
|
||||||
elif system() == "Windows":
|
elif system() == "Windows":
|
||||||
print(
|
print(
|
||||||
"\033[91m Please Run This Tool In Debian System For Best Result " "\e[00m")
|
"\033[91m Please Run This Tool On A Debian System For Best Results " "\e[00m")
|
||||||
sleep(2)
|
sleep(2)
|
||||||
webbrowser.open_new_tab("https://tinyurl.com/y522modc")
|
webbrowser.open_new_tab("https://tinyurl.com/y522modc")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Please Check Your Sytem or Open new issue ...")
|
print("Please Check Your System or Open New Issue ...")
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\nExiting ..!!!")
|
print("\nExiting ..!!!")
|
||||||
|
@ -6,7 +6,7 @@ from core import HackingToolsCollection
|
|||||||
|
|
||||||
|
|
||||||
class AnonymouslySurf(HackingTool):
|
class AnonymouslySurf(HackingTool):
|
||||||
TITLE = "Anonmously Surf"
|
TITLE = "Anonymously Surf"
|
||||||
DESCRIPTION = "It automatically overwrites the RAM when\n" \
|
DESCRIPTION = "It automatically overwrites the RAM when\n" \
|
||||||
"the system is shutting down and also change Ip."
|
"the system is shutting down and also change Ip."
|
||||||
INSTALL_COMMANDS = [
|
INSTALL_COMMANDS = [
|
||||||
|
Reference in New Issue
Block a user