Hypdncy / NessusToReport

Nessus扫描报告自动化生成工具
Apache License 2.0
526 stars 135 forks source link

百度云的QPS限制解决方案已经提交,请更新代码重试 #13

Closed Hypdncy closed 1 year ago

LaIMirch commented 2 years ago

大佬,我git clone了新的代码,然后换了3个不同的网络,还是会报错- - C:\Users\Administrator\Desktop\NessusToReport>python main.py -t loops 2022-06-21 11:43:40,310 - root - INFO - 开始初始化数据 2022-06-21 11:43:40,310 - root - INFO - ---开始读取数据 2022-06-21 11:43:40,383 - root - INFO - ----漏洞种类总数:74 2022-06-21 11:43:40,384 - root - INFO - ----漏洞主机总数:31 2022-06-21 11:43:40,385 - root - INFO - ---开始翻译数据 2022-06-21 11:43:40,387 - root - INFO - ------翻译漏洞总数:11 Traceback (most recent call last): File "C:\Users\Administrator\Desktop\NessusToReport\main.py", line 45, in h = Handle(args.docxtype) File "C:\Users\Administrator\Desktop\NessusToReport\modle\handle.py", line 57, in init TranBaidu(self.LOOPHOLES).run() File "C:\Users\Administrator\Desktop\NessusToReport\modle\common\translate\base.py", line 106, in run self.LOOPHOLES[plugin_id][type_cn] = self._analysis_cn_resinfo(resinfo) File "C:\Users\Administrator\Desktop\NessusToReport\modle\common\translate\baidu.py", line 87, in _analysis_cn_resinfo return resinfo["trans_result"][0]["dst"] KeyError: 'trans_result'

LaIMirch commented 2 years ago

可以了可以了,就是数量不太对,我再研究一下

LaIMirch commented 2 years ago

https://zh-cn.tenable.com/plugins/nessus/131831 如果用官方文档翻译的这种方法,是否效率会更高呢,或者把官方的批量保存到本地来

LaIMirch commented 1 year ago

Thank you for your message, which has been added to a queuing system. You are currently in 352nd place, and can expect to receive a reply in approximately 19 weeks.

Hypdncy commented 1 year ago

https://zh-cn.tenable.com/plugins/nessus/131831 如果用官方文档翻译的这种方法,是否效率会更高呢,或者把官方的批量保存到本地来

好想法

Hypdncy commented 1 year ago

已经增加该功能