Exit after hackingtool is successfully uninstalled

This commit is contained in:
Christian Clauss 2023-07-19 18:24:38 +02:00 committed by GitHub
parent 2ecb207953
commit 6538cee32d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
# coding=utf-8
import os
import sys
from time import sleep
from core import HackingTool
@ -53,9 +54,8 @@ class UninstallTool(HackingTool):
"sudo rm -rf /usr/share/doc/hackingtool/;"
"cd /etc/;"
"sudo rm -rf /etc/hackingtool/;")
print("\nHackingtool Successfully Uninstalled..")
print("Happy Hacking..!!")
sleep(1)
print("\nHackingtool Successfully Uninstalled... Goodbye.")
sys.exit()
class ToolManager(HackingToolsCollection):