Hypdncy / NessusToReport

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

编码报错 #7

Closed DHWxiao closed 3 years ago

DHWxiao commented 3 years ago

请问一下报编码出错,我核实了一下 文档里面没有乱码的东西Traceback (most recent call last): File "main.py", line 46, in h.run() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\handle.py", line 95, in run func_type_run[self.docxtype]() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\handle.py", line 84, in run_all self.run_loops() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\handle.py", line 75, in run_loops DataLoops(self.LOOPHOLES).run() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\data\loops.py", line 100, in run super(DataLoops, self).run() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\data\base.py", line 93, in run self._gen_data_systems() File "D:\Study\study_tools\Misc\NessusToReport-master\modle\data\base.py", line 81, in _gen_data_systems next(f) File "D:\Software\python 3.8\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte