#xml #xml-parser #nmap #name #service #data #structing

bin+lib structnmap

This is a tool for parsing nmap xml and structing it to files by service name

1 unstable release

0.1.0 Aug 1, 2022

#9 in #nmap

MIT license

20KB
139 lines

Structnmap

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(())
}

lib.rs:

Structnmap

structnmap is a tool for parsing nmap xml and structing it to files by service name.

Dependencies

~6–8MB
~145K SLoC