Exception
libnmap.diff.NmapDiffException
- Undocumentedlibnmap.parser.NmapParserException
- Undocumentedjson.JSONDecoder
libnmap.reportjson.ReportDecoder
- ReportDecoder is a internal class used mostly by plugins to convert json nmap report in to NmapReport objects. e.g.: nmap_report_obj = json.loads(nmap_report_json, cls=ReportDecoder)json.JSONEncoder
libnmap.reportjson.ReportEncoder
- ReportEncoder is a internal class used mostly by plugins to convert NmapReport objects in json format. e.g.: nmapreport_obj = NmapParser.parse_fromfile( "libnmap/test/files/1_hosts.xml" ) nmapreport_json = json...libnmap.plugins.sql.Base
libnmap.plugins.sql.NmapSqlPlugin.Reports
- Embeded class for ORM map NmapReport to a simple three column tableobject
libnmap.diff.DictDiffer
- Calculate the difference between two dictionaries as: (1) items added (2) items removed (3) keys same in both but changed values (4) keys same in both and unchanged valueslibnmap.diff.NmapDiff
- NmapDiff compares two objects of same type to enable the user to check:libnmap.objects.cpe.CPE
- CPE class offers an API for basic CPE objects. These objects could be found in NmapService or in <os> tag within NmapHost.libnmap.objects.NmapHost
- NmapHost is a class representing a host object of NmapReportlibnmap.objects.NmapReport
- NmapReport is the usual interface for the end user to read scans output.libnmap.objects.NmapService
- NmapService represents a nmap scanned service. Its id() is comprised of the protocol and the port.libnmap.objects.os.NmapOSClass
- NmapOSClass offers an unified API to access data from analysed osclass tag. As implemented in libnmap and newer version of nmap, osclass objects will always be embedded in a NmapOSMatch. Unmatched NmapOSClass will be stored in "dummy" NmapOSMatch objects which will have the particularity of have a line attribute of -1...libnmap.objects.os.NmapOSFingerprint
- NmapOSFingerprint is a easier API for using os fingerprinting. Data for OS fingerprint (<os> tag) is instantiated from a NmapOSFingerprint which is accessible in NmapHost via NmapHost.oslibnmap.objects.os.NmapOSMatch
- NmapOSMatch is an internal class used for offering results from an nmap os fingerprint. This common interfaces makes a compatibility between old nmap xml (<1.04) and new nmap xml versions (used in nmapv6 for instance).libnmap.objects.os.OSFPPortUsed
- Port used class: this enables the user of NmapOSFingerprint class to have a common and clear interface to access portused data which were collected and used during os fingerprint scanlibnmap.parser.NmapParser
- No class docstring; 2/2 static methods, 20/20 class methods documentedlibnmap.plugins.backendplugin.NmapBackendPlugin
- Abstract class showing to the minimal implementation for a plugin All subclass MUST at least implement the following methodslibnmap.plugins.es.NmapElasticsearchPlugin
- This class enables the user to store and manipulate nmap reports in a elastic search db.libnmap.plugins.mongodb.NmapMongodbPlugin
- This class handle the persistence of NmapRepport object in mongodb Implementation is made using pymongo Object of this class must be create via the BackendPluginFactory.create(**url) where url is a named dict like {'plugin_name': "mongodb"} this dict may receive all the param MongoClient() support...libnmap.plugins.s3.NmapS3Plugin
- This plugin save the reports on S3 and compatible.libnmap.plugins.sql.NmapSqlPlugin
- This class handle the persistence of NmapRepport object in SQL backend Implementation is made using sqlalchemy(0.8.1) usage :libnmap.plugins.backendpluginFactory.BackendPluginFactory
- This is a backend plugin factory a backend instance MUST be created via the static method create() ie : mybackend = BackendPluginFactory.create()libnmap.process.NmapTask
- NmapTask is a internal class used by process. Each time nmap starts a new task during the scan, a new class will be instantiated. Classes examples are: "Ping Scan", "NSE script", "DNS Resolve",.. To each class an estimated time to complete is assigned and updated at least every second within the NmapProcess...threading.Thread
libnmap.process.NmapProcess
- NmapProcess is a class which wraps around the nmap executable.