- Which method allows us to see the machines that have been targeted for scanning?
nmap.all_hosts()
- How do we invoke the scan function if we want to perform an asynchronous scan and also execute a script at the end of that scan?
nmasync.scan('ip','ports',arguments='--script=/usr/local/share/nmap/scripts/')
- Which method can we use to obtain the result of the scan in dictionary format?
nmap.csv()
- What kind of Nmap module is used to perform scans asynchronously?
nma = nmap.PortScannerAsync()
- What kind of Nmap module is used to perform scans synchronously?
nma = nmap.PortScanner()
- How can we launch a synchronous scan on a given host, on a given port if we initialize the object with the self.nmsync = nmap.PortScanner () instruction?
self.nmsync.scan(hostname, port)
- Which method can we use to...