Beispiel #1
0
def nmapVulnScan(ip, portList):
    nmap = Nmap(ip)
    scanResults = {'vuln-scan': nmap.vulnScan(portList)}
    return scanResults
Beispiel #2
0
def nmapVulnScan(ip, ports='1-1024'):
    nmap = Nmap(ip)
    scanResults = {'vuln-scan': nmap.vulnScan(ports)}
    return scanResults