python-libnessus icon indicating copy to clipboard operation
python-libnessus copied to clipboard

NessusParser.parse_fromfile error

Open ghost opened this issue 10 years ago • 0 comments

Traceback (most recent call last): File "./es.py", line 29, in nessus_obj_list = NessusParser.parse_fromfile(file) File "/usr/local/lib/python2.7/dist-packages/libnessus/parser.py", line 117, in parse_fromfile rval = cls.parse(fdata, data_type) File "/usr/local/lib/python2.7/dist-packages/libnessus/parser.py", line 16, in parse nessusobj = cls._parse_xml(nessus_data) File "/usr/local/lib/python2.7/dist-packages/libnessus/parser.py", line 33, in _parse_xml nessusobj = cls._parse_xmlv2(root) File "/usr/local/lib/python2.7/dist-packages/libnessus/parser.py", line 55, in _parse_xmlv2 _nhost = cls.parse_host(nessus_host) File "/usr/local/lib/python2.7/dist-packages/libnessus/parser.py", line 79, in parse_host return NessusReportHost(_dhp, _vuln_list) File "/usr/local/lib/python2.7/dist-packages/libnessus/objects/reporthost.py", line 25, in init "Missing: ".format(" ".join(_missing_attr))) Exception: Not all the attributes to create a decent NessusReportHost are available. Missing:

it happens always when the file .nessus is around or greater than 30M

ghost avatar Jun 11 '15 12:06 ghost