Skip to content

NessusParser.parse_fromfile error #5

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions