diff --git a/tools/information_gathering_tools.py b/tools/information_gathering_tools.py index 8df6baf..0c0da0d 100644 --- a/tools/information_gathering_tools.py +++ b/tools/information_gathering_tools.py @@ -186,7 +186,7 @@ class PortScannerRanger(HackingTool): def run(self): ip = input("Enter Ip >> ") - os.system("cd rang3r;") + os.chdir("rang3r") subprocess.run(["sudo", "python", "rang3r.py", "--ip", ip])