#xml #xml-parser #report #iterator #parse #version #nessus

nessus_xml_parser

Parse Nessus XML files into Rust datatypes and provide useful iterators

1 unstable release

0.1.0 Jun 30, 2020

#64 in #report

28 downloads per month

MIT/Apache

185KB
1.5K SLoC

nessus_xml_parser

Build Parse Nessus XML files for use in Rust projects. This has been tested on a small sample of Nessus files, however the documentation is full of typos and contradictions, so this may not work on all possible Nessus files. Please report any issues with minimal examples of files that aren't properly parsed.

Usage example

use nessus_xml_parser::NessusScan;
let xml = r#"
<?xml version="1.0" ?>
<NessusClientData_v2>
  ...
</NessusClientData_v2>
"#;
let nessus = NessusScan::parse(&xml).unwrap();
for host in nessus.hosts() {
	println!("Hostname: {}", host.name);
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.7–1.2MB
~27K SLoC