LoRexxar / Kunlun-M

KunLun-M是一个完全开源的静态白盒扫描工具,支持PHP、JavaScript的语义扫描,基础安全、组件安全扫描,Chrome Ext\Solidity的基础扫描。
MIT License
2.24k stars 311 forks source link

AttributeError: 'NoneType' object has no attribute 'rule_name' #222

Closed shmilylty closed 2 years ago

shmilylty commented 2 years ago

最新仓库代码 Python 3.10 [11:35:52] Traceback (most recent call last): File "D:\Tools\Kunlun-M\core__init__.py", line 312, in main cli.start(args.target, args.format, args.output, args.special_rules, sid, args.language, args.tamper_name, args.black_path, args.unconfirm, args.unprecom) File "D:\Tools\Kunlun-M\core\cli.py", line 261, in start display_result(task_id) File "D:\Tools\Kunlun-M\core\cli.py", line 128, in display_result rule_name = rule.rule_name AttributeError: 'NoneType' object has no attribute 'rule_name'

LoRexxar commented 2 years ago

这个报错是因为在扫描前没有执行

python kunlun.py config load

后续考虑更新这个提示