0% found this document useful (0 votes)
76 views1 page

#3: Read List of Hosts/Networks From A File (Ipv4)

This document discusses using Nmap to scan multiple hosts and networks by reading a target list from a text file. It recommends creating a text file with hostnames, IPv4 addresses, and CIDR notation network ranges listed individually. The syntax to use Nmap with this input list is provided as nmap -iL followed by the path to the text file.

Uploaded by

JhonnySinatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views1 page

#3: Read List of Hosts/Networks From A File (Ipv4)

This document discusses using Nmap to scan multiple hosts and networks by reading a target list from a text file. It recommends creating a text file with hostnames, IPv4 addresses, and CIDR notation network ranges listed individually. The syntax to use Nmap with this input list is provided as nmap -iL followed by the path to the text file.

Uploaded by

JhonnySinatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

#3: Read list of hosts/networks from a file (IPv4)

The -iL option allows you to read the list of target systems using a text file. This is useful to scan
a large number of hosts/networks. Create a text file as follows:
cat > /tmp/test.txt
Sample outputs:
server1.cyberciti.biz
192.168.1.0/24
192.168.1.1/24
10.1.2.3
localhost
The syntax is:
nmap -iL /tmp/test.txt

You might also like