Changelog ========= 2014/06/22 (v0.3.4) - adding PortScannerYield class with generator >>> nm = nmap.PortScannerYield() >>> for i in nm.scan('127.0.0.1/24', '22-25'): >>> print(i) 2014/03/13 (v0.3.3) - moving file example.py - adding function convert_nmap_output_to_encoding - adding vendor for mac address 2013/09/23 (v0.3.2) - adding acces to CPE values under [host][proto][port]['cpe'] key 2013/07/27 (v0.3.1) - Bug correction on callback's assert in PortScannerAsync.scan proposed by Robert Bost 2013/06/23 (v0.3.0) - added support for NMAP SCRIPT ENGINE >>> r=nm.scan(hosts='127.0.0.1', ports='139', arguments="-sC ") >>> print(nm._scan_result['scan']['127.0.0.1']['hostscript']) 2013/02/24 (v0.2.7) - added an address block in host scan result which contains ipv4, mac and other addresses : nm = nmap.PortScanner() r = nm.scan(arguments='-sS -p T:22', hosts='192.168.1.3') print r['scan']['192.168.1.3']['addresses'] {u'mac': u'02:50:43:F4:02:B1', u'ipv4': u'192.168.1.3'} - Adding a CSV scan output as a string. - Changes examples.py to make it python3 compliant 2012/12/13 (v0.2.6) - patch from lundberg.johan - bug correction : when nmap doesn't work displays stderr instead of stdout 2012/11/23 (v0.2.5) - corrected : Issue 2: "map.nmap.PortScannerError: 'nmap program was not found in path'" on CentOS - corrected : Issue 3: nmap.scan() short-circuits prematurely 2011/11/09 (v0.2.4) - implemented a request from Santhosh Edukulla : parse OS scanning output - Error with multiple host specifications : bug and patch from old.schepperhand@gmail.com 2011/11/04 - bug in example.py : if no tcp port was open between 22-443 2010/12/17 (v0.2.3) - adding __get_last_online_version to check if current version is the last published 2010/12/17 (v0.2.2) - bug in handling nmap_error output (returned value was bin, string was expected) - removed test strings form __init__.py file. 2010/12/15 (v0.2.1) - corrected bug in __init__.py about scope problem - try to find nmap executable in known directories - raise AssertionError when trying to call command_line, scaninfo, scanstats, has_host before scanning 2010/12/14 (v0.2.0) - Make python-nmap works with Python 3.x - Contribution from Brian Bustin 2010/06/07 (v0.1.4) - Patches from Steve 'Ashcrow' Milner - remove shebang from __init__.py as it is not a runnable script - allow use with ALPHA and BETA nmap releases - .has_key() is deprecated, replaced instances with in - move to using the print function for python2 and 3 usage 2010/06/04 - adding PortScanner.listscan - PortScanner.scan now returns scan_result - adding class PortScannerAsync (idea from Steve 'Ashcrow' Milner ) 2010/06/03 - Import on google code svn checkout https://python-nmap.googlecode.com/svn/trunk/ python-nmap --username XXXXX - added PortScanner.scanstats method - updated example.py and documentation for pingsweep - updated Makefile for generating documentation 2010/03/09 - Modified packaging. v0.1.1 [norman] 2010/03/08 - Initial release. v0.1.0 [norman]