From 0d8f1ddd7ba866d6881c658dc83f44096f43a1fc Mon Sep 17 00:00:00 2001 From: Greatest125 <66028078+Greatest125@users.noreply.github.com> Date: Sat, 26 Dec 2020 11:11:43 -0500 Subject: [PATCH] foxed rang3r run issue using os.chdir to cd into rang3r directory --- tools/information_gathering_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])