A small collection of utilities for Nmap scan results.
Go to file
aidan 80d58a6286 added scan time to host objects 2023-08-03 21:47:30 +01:00
sample_data added scan with differing output 2023-08-03 21:46:04 +01:00
.gitignore updated ignore patterns 2023-08-02 18:39:40 +01:00
LICENSE switched to appropriate software license 2023-08-02 18:58:53 +01:00
README.md refactored scripts into distinct modules 2023-08-03 09:50:13 +01:00
ndump.py refactored scripts into distinct modules 2023-08-03 09:50:13 +01:00
nkitility.py genericised file read process 2023-08-03 21:45:04 +01:00
nmodel.py added scan time to host objects 2023-08-03 21:47:30 +01:00
nyaml.py genericised file read process 2023-08-03 21:45:04 +01:00
requirements.txt refactored scripts into distinct modules 2023-08-03 09:50:13 +01:00

README.md

nkit

A small collection of utilities for Nmap scan results.

nyaml

Converts a standard Nmap XML output file into a YAML document, with a few limits on what content is translated across. The focus is on building a machine-readable document that's also significantly easier for humans to grok than XML.

$ ./nyaml.py -f sample_data/connect_scan.xml

ndump

The script dumps the raw XML content for hosts, ports, and services so they can be piped for usage elsewhere. This is a convenience function to save having to parse these objects out of the XML out in some other manner.

$ ./ndump.py -f sample_data/connect_scan.xml --dump A

nkitility

This is a library file for containing utility functions.

nmodel

This is a library file containing the logic for parsing the Nmap XML documents.