class documentation
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. On top of this, NmapOSClass will have optional CPE objects embedded.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Property | accuracy |
Accessor for OS class detection accuracy (int) |
Property | cpelist |
Returns a list of CPE Objects matching with this os class |
Property | description |
Accessor helper which returns a concataned string of the valuable attributes from NmapOSClass object |
Property | osfamily |
Accessor for OS family information (Windows, Linux,...) |
Property | osgen |
Accessor for OS class generation (7, 8, 2.4.X,...). |
Property | type |
Accessor for OS class type (general purpose,...) |
Property | vendor |
Accessor for vendor information (Microsoft, Linux,...) |
Instance Variable | _accuracy |
Undocumented |
Instance Variable | _cpelist |
Undocumented |
Instance Variable | _osfamily |
Undocumented |
Instance Variable | _osgen |
Undocumented |
Instance Variable | _type |
Undocumented |
Instance Variable | _vendor |
Undocumented |
Returns a list of CPE Objects matching with this os class :return: list of CPE objects :rtype: Array
Accessor helper which returns a concataned string of the valuable attributes from NmapOSClass object :return: string