Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sijidou committed May 15, 2022
1 parent 1058112 commit 8463655
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ docker-compose up -d
docker exec -it h_server_1 bash
cd /app && nohup python3 run.py &
cd /app/app/scan/lib/tools && chmod 755 xray
nohup ./xray reverse &
```


Expand Down
6 changes: 5 additions & 1 deletion client/client_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ def run():
#启动icp备案的celery
if(cfg.get("WORKER_CONFIG", "plugin_icpget") == 'True'):
os.chdir("{}/icp_scan".format(FILEPATH))
os.system("nohup celery -A icpget worker -l info -Q icpget -n icpget_{} -c {} &".format(time(),cfg.get("WORKER_CONFIG", "vuln_nuclei_count")))
os.system("nohup celery -A icpget worker -l info -Q icpget -n icpget_{} &".format(time()))
#启动fscan备案的celery
if(cfg.get("WORKER_CONFIG", "vuln_fscan") == 'True'):
os.chdir("{}/vuln_scan/fscan".format(FILEPATH))
os.system("nohup celery -A fscan worker -l info -Q fscan -n fscan_{} -c {} &".format(time(),cfg.get("WORKER_CONFIG", "vuln_fscan_count")))

if __name__ == '__main__':
run()
2 changes: 2 additions & 0 deletions client/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ dir_jsfinder_count = 3
#漏洞扫描
vuln_nuclei = True
vuln_nuclei_count = 3
vuln_fscan = True
vuln_fscan_count = 3
vuln_xray = True
vuln_xray_webhook = h_server_1:5005

Expand Down

0 comments on commit 8463655

Please sign in to comment.