From 5157b9fc2ed748fa9ac4e7171a2ce5f847d53d89 Mon Sep 17 00:00:00 2001 From: mokrunka Date: Tue, 15 Dec 2020 10:30:24 -0800 Subject: [PATCH 1/5] update some typos; clearly print the path for install regardless of install option --- hackingtool.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hackingtool.py b/hackingtool.py index 0ef91a3..7514d80 100644 --- a/hackingtool.py +++ b/hackingtool.py @@ -79,7 +79,7 @@ if __name__ == "__main__": os.system('clear') # run.menu() 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 [2] Default """) @@ -89,12 +89,12 @@ if __name__ == "__main__": inpath = input("Enter Path (with Directory Name) >> ") with open(fpath, "w") as f: f.write(inpath) - print("Successfully Path Set...!!") + print(f"Successfully Set Path to: {inpath}") elif choice == "2": autopath = "/home/hackingtool/" with open(fpath, "w") as f: f.write(autopath) - print(f"Your Default Path Is:- {autopath}") + print(f"Your Default Path Is: {autopath}") sleep(3) else: print("Try Again..!!") @@ -111,12 +111,12 @@ if __name__ == "__main__": # If not Linux and probably Windows elif system() == "Windows": 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) webbrowser.open_new_tab("https://tinyurl.com/y522modc") else: - print("Please Check Your Sytem or Open new issue ...") + print("Please Check Your System or Open New Issue ...") except KeyboardInterrupt: print("\nExiting ..!!!") From 381908e12f68f1270bb8b7c9c92e5c9c88d763b3 Mon Sep 17 00:00:00 2001 From: mokrunka Date: Fri, 18 Dec 2020 17:14:36 -0800 Subject: [PATCH 2/5] update some more typos; change print from .format to f-strings for readability --- core.py | 13 +++++-------- tools/anonsurf.py | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/core.py b/core.py index e59ef3c..1a4fd9f 100644 --- a/core.py +++ b/core.py @@ -65,17 +65,15 @@ class HackingTool(object): desc += '\n\t[*] ' desc += self.PROJECT_URL os.system(f'echo "{desc}"|boxes -d boy | lolcat') - # print(desc) def show_options(self, parent = None): clear_screen() self.show_info() for index, option in enumerate(self.OPTIONS): - print("[{:2}] {}".format(index + 1, option[0])) + print(f"[{index + 1}] {option[0]}") if self.PROJECT_URL: - print("[{:2}] {}".format(98, "Open project page")) - print("[{:2}] {}".format( - 99, ("Back to " + parent.TITLE) if parent is not None else "Exit")) + print(f"[{98}] Open project page}") + print(f"[{99}] Back to {parent.TITLE if parent is not None else 'Exit'}") option_index = input("Select an option : ") try: option_index = int(option_index) @@ -162,9 +160,8 @@ class HackingToolsCollection(object): clear_screen() self.show_info() for index, tool in enumerate(self.TOOLS): - print("[{:2}] {}".format(index, tool.TITLE)) - print("[{:2}] {}".format( - 99, ("Back to " + parent.TITLE) if parent is not None else "Exit")) + print(f"[{index} {tool.TITLE}") + print(f"[{99}] Back to {parent.TITLE if parent is not None else 'Exit'}") tool_index = input("Choose a tool to proceed: ") try: tool_index = int(tool_index) diff --git a/tools/anonsurf.py b/tools/anonsurf.py index 0544fad..aa660f6 100644 --- a/tools/anonsurf.py +++ b/tools/anonsurf.py @@ -6,7 +6,7 @@ from core import HackingToolsCollection class AnonymouslySurf(HackingTool): - TITLE = "Anonmously Surf" + TITLE = "Anonymously Surf" DESCRIPTION = "It automatically overwrites the RAM when\n" \ "the system is shutting down and also change Ip." INSTALL_COMMANDS = [ From 3d435a4307da0d73f1ed3be2ee9b2ed470469dd7 Mon Sep 17 00:00:00 2001 From: mokrunka Date: Sun, 20 Dec 2020 19:31:50 -0800 Subject: [PATCH 3/5] update some more typos; change print from .format to f-strings for readability --- hackingtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hackingtool.py b/hackingtool.py index 7514d80..2e5fc20 100644 --- a/hackingtool.py +++ b/hackingtool.py @@ -81,7 +81,7 @@ if __name__ == "__main__": print(""" [@] Set Path (All your tools will be installed in that directory) [1] Manual - [2] Default + [2] Defaultl """) choice = input("Z4nzu =>> ") From fe08423827e6f293a44d4c1f1b1f62dab751a557 Mon Sep 17 00:00:00 2001 From: mokrunka Date: Wed, 23 Dec 2020 07:45:00 -0800 Subject: [PATCH 4/5] update some more typos; change print from .format to f-strings for readability --- hackingtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hackingtool.py b/hackingtool.py index 2e5fc20..7514d80 100644 --- a/hackingtool.py +++ b/hackingtool.py @@ -81,7 +81,7 @@ if __name__ == "__main__": print(""" [@] Set Path (All your tools will be installed in that directory) [1] Manual - [2] Defaultl + [2] Default """) choice = input("Z4nzu =>> ") From ed2c9dd9692cf4c33198c6a51b93106488df42e5 Mon Sep 17 00:00:00 2001 From: mokrunka Date: Wed, 23 Dec 2020 08:56:28 -0800 Subject: [PATCH 5/5] fix my mistake on f-string in core.py --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 1a4fd9f..e37b50e 100644 --- a/core.py +++ b/core.py @@ -72,7 +72,7 @@ class HackingTool(object): for index, option in enumerate(self.OPTIONS): print(f"[{index + 1}] {option[0]}") if self.PROJECT_URL: - print(f"[{98}] Open project page}") + print(f"[{98}] Open project page") print(f"[{99}] Back to {parent.TITLE if parent is not None else 'Exit'}") option_index = input("Select an option : ") try: