Code:
$ nmap --version
Nmap version 4.85BETA5 ( http://nmap.org )
Code:
./nmap -n -PN -d -p445 --script=smb-check-vulns --script-args=safe=1 -oN infected.txt 10.1.1-75.0-255
Code:
fgrep -B 7 INFECTED infected.txt | grep "Interesting ports" | awk '{print $4}' | awk -F: '{print $1}'