Bulk scan IP Port program (for Window&linux)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.