1 Star 0 Fork 0

小熊开大/FUGIO

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run.py 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
小熊开大 提交于 2023-04-03 21:34 . Init
#!/usr/bin/python3 -B
import sys
import os
from Utils import arg, Bootstrap
from Detector.DetectorManager import *
from Analyzer.analyzer import *
args = arg.parse()
target = args.target
DOC_ROOT = args.doc_root
rabbitmq_ip = args.rabbitmq_ip
hook_extension = args.hook_extension
php_ver = args.php_ver
all_files = args.all
cpus = args.cpus
# Get Class List
analyzer = Analyzer(target, rabbitmq_ip)
class_list = analyzer.class_list
# Make hooking file
B = Bootstrap()
validator_md5 = B.makePharValidator(DOC_ROOT)
B.makeHookFile(rabbitmq_ip, DOC_ROOT, validator_md5,
hook_extension, php_ver, class_list)
# Start Detection
DM = DetectorManager(target, rabbitmq_ip, php_ver, all_files, cpus)
DM.startManager(1, rabbitmq_ip) # Thread count
# Usage
# Need to link Detection stage and chain generation stage
exit()
# ------------
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiewangdong/fugio.git
[email protected]:xiewangdong/fugio.git
xiewangdong
fugio
FUGIO
master

搜索帮助