Bulk scan IP Port, the result of exporting IP-named files based on scanned IP.
Assume that the contents of the 1.txt file are
127.0.0.1
192.168.1.1
Then we get the file content IP to scan
window. bat version
: 1.txt for file name, modify according to requirement: C:\nmap\nmap-6.46\nmap.exe is the path of Namp, modify according to requirement: put 1.txt together with the scan script @echo offfor/f "delims=,"%%i in (1. TXT) do C:\nmap\nmap-6.46\nmap.exe-T3-A-v-p-%%i >%%i.txt |
Linux shell version
echo ' Start scan IP port! ' Cat 1.txt|while Read Linedo nmap-t3-a-v-p-$line > $line. txt echo "Scan $line port ok!" Doneecho "Scan all IP port ok!" |
Attached Linux scan result diagram
I then use the scanned file, to batch filter out the IP, Port, State, service composition of a file, and then statistical Excel documents are very fast:)
Bulk scan IP Port program (for Window&linux)