Hypdncy / NessusToReport

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

作者大大帮忙看下这个报错是什么原因哈!!! #41

Open CGH1565 opened 11 months ago

CGH1565 commented 11 months ago

File "main.py", line 48, in h = Handle(args.docxtype, args.exceltype) File "D:\NessusToReport\modle\handle.py", line 57, in init self.LOOPHOLES.run() File "D:\NessusToReport\modle\common\loophole\loopholes.py", line 185, in run self._get_init_nessus() File "D:\NessusToReport\modle\common\loophole\loopholes.py", line 105, in _get_init_nessus if IPy.IP(host) in IPy.IP(nessus_ignore_ip, make_net=True): File "C:\Users\HotSauce\AppData\Local\Programs\Python\Python38-32\lib\site-packages\IPy.py", line 249, in init (self.ip, parsedVersion) = parseAddress(ip, ipversion) File "C:\Users\HotSauce\AppData\Local\Programs\Python\Python38-32\lib\site-packages\IPy.py", line 1422, in parseAddress bytes = [int(x) for x in bytes] File "C:\Users\HotSauce\AppData\Local\Programs\Python\Python38-32\lib\site-packages\IPy.py", line 1422, in bytes = [int(x) for x in bytes] ValueError: invalid literal for int() with base 10: 'www'

Hypdncy commented 10 months ago

看看文件编码吧,这个看不出啥来的

Hypdncy commented 8 months ago

csv文件另存为utf8的格式试试

Hypdncy commented 8 months ago

把csv文件发我看看,我改下吧

Be1Dsec commented 1 month ago

应该是扫描了域名,翻译的时候int()函数转型报错了