This is a tool for parsing nmap xml and structing it to files by service name.
USAGE:
$ structnmap <xml> <output>
FLAGS:
-h, --help - Prints help information
-V, --version - Prints version information
ARGS:
<xml> - Nmap xml file path
<output> - Output directory
EXAMPLE:
$ structnmap nmap.xml output
You can see an output sample in example directory in project repository
IN-CODE USAGE EXAMPLE:
use structnmap::{Data, Error};
fn main() -> Result<(), Error> {
let test = Data::build("nmap.xml")?;
test.generate("output")?;
Ok(())
}