Expand description
Parse Nmap XML output into Rust.
The root of this crate is
NmapResults::parse()
. Its use
should be similar to the following:
use nmap_xml_parser::NmapResults;
let content = fs::read_to_string(nmap_xml_file).unwrap();
let results = NmapResults::parse(&content).unwrap();
This crate is still a work-in-progress and does not represent the full Nmap output structure. However, it should successfully parse any Nmap XML output. Please file a bug report if it fails.
The API is not stable and is subject to breaking changes until the crate reaches 1.0. Use with care.
Modules§
Structs§
- Nmap
Results - Root structure of a Nmap scan result.