Open poetmilk opened 1 year ago
$ python main.py -t host 2023-03-05 22:37:27,748 - root - INFO - 开始初始化数据 2023-03-05 22:37:27,748 - root - INFO - ---开始读取数据 2023-03-05 22:37:27,760 - root - INFO - ----漏洞种类总数:65 2023-03-05 22:37:27,761 - root - INFO - ----漏洞主机总数:3 2023-03-05 22:37:27,761 - root - INFO - ---开始翻译数据 2023-03-05 22:37:27,762 - root - INFO - ------翻译漏洞总数:8 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' Traceback (most recent call last): File "main.py", line 45, in h = Handle(args.docxtype) File "C:\PMSec\tools\vulnerability-scanner\NessusToReport-1.1.1\modle\handle.py", line 63, in init func_translate_toolstranslate_tool.run() File "C:\PMSec\tools\vulnerability-scanner\NessusToReport-1.1.1\modle\common\translate\base.py", line 110, in run for plugin_id, resinfo in cn_resinfos: TypeError: cannot unpack non-iterable NoneType object adv_scan_75e1kc.csv
是否更换了百度api的key呢,新版本自带从官网拉取信息了
我也是这个问题 咋弄啊 没用百度key
$ python main.py -t host 2023-03-05 22:37:27,748 - root - INFO - 开始初始化数据 2023-03-05 22:37:27,748 - root - INFO - ---开始读取数据 2023-03-05 22:37:27,760 - root - INFO - ----漏洞种类总数:65 2023-03-05 22:37:27,761 - root - INFO - ----漏洞主机总数:3 2023-03-05 22:37:27,761 - root - INFO - ---开始翻译数据 2023-03-05 22:37:27,762 - root - INFO - ------翻译漏洞总数:8 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' 'trans_result' Traceback (most recent call last): File "main.py", line 45, in
h = Handle(args.docxtype)
File "C:\PMSec\tools\vulnerability-scanner\NessusToReport-1.1.1\modle\handle.py", line 63, in init
func_translate_toolstranslate_tool.run()
File "C:\PMSec\tools\vulnerability-scanner\NessusToReport-1.1.1\modle\common\translate\base.py", line 110, in run
for plugin_id, resinfo in cn_resinfos:
TypeError: cannot unpack non-iterable NoneType object
adv_scan_75e1kc.csv