/nmap_xml_parser

Rust parser for the Nmap XML format.

Primary LanguageRust

nmap_xml_parser

Crates.io

nmap_xml_parser parses Nmap XML output into Rust. For example:

use nmap_xml_parser::NmapResults;
let content = fs::read_to_string(nmap_xml_file).unwrap();
let results = NmapResults::parse(&content).unwrap();

Please refer to the documentation for more information.