diff --git a/lib/Tools.py b/lib/Tools.py index 9a8e5fd..a79b109 100644 --- a/lib/Tools.py +++ b/lib/Tools.py @@ -360,7 +360,7 @@ def passive_scan(self): def xray_passive(): cmd = "{path}/tools/xray_linux_amd64/xray_linux_amd64 webscan --listen {proxy} --html-output {logfile} | tee -a {backup_file}"\ .format(path=main_path, proxy=self.proxy, logfile=self.logfile, backup_file=self.backup_file) - os.popen(cmd) + os.system(cmd) t = threading.Thread(target=xray_passive, daemon=True) t.start()