Skip to content

Commit

Permalink
Update Tools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zongdeiqianxing authored Mar 18, 2022
1 parent 69b414d commit 4f064fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4f064fb

Please sign in to comment.