Retrieving results
Successfully completing scans, resuming scans or importing XML files will return an NmapScanResult object. This object contains all the information from the
performed scan. Scan information includes:
Overall scan information.
Scanned hosts, ports and services
Nmap’s NSE scripts results
NSE script results from an
NSEobject from the Nmapthon2 library.
On the following sub-section, you will learn how to get this information through several properties, methods and loops.