Overview of libnmap modules
masterlibnmap is a Python toolkit designed for manipulating Nmap data. It is organized into several functional modules:
process: Used to launch Nmap scans.parse: Used to parse Nmap reports or scan results (currently XML only) from files or strings.report: Used to manipulate parsed scan results and to de/serialize scan results in JSON format.diff: Used to compare changes between two different scans.objects: Provides core Nmap data models such asNmapHost,NmapService,NmapReport,NmapOSFingerprint, andCPE. Most objects support a.diff()method to compare themselves with similar objects.plugins: Extends theNmapReportobject to support direct datastore integration. Supported/planned plugins include:mongodb(basic/POC)sqlalchemy(supports SQLite, MySQL, etc.)rabbitMQ(planned)couchdb(planned)elastic search(planned)csv(planned)