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.
rust
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);
}
Licensed under either of
at your option.
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.