Skip to content

sciguy16/nessus_xml_parser-rs

Repository files navigation

nessus_xml_parser

Build Documentation

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.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages