If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials How to find Nmap...

How does Nmap find devices on the network-How to use Nmap

Author: Xiaoxin Date: 2021-02-05

Nmap
Nmap-7.95 latest version

Network assistance Storage size: 30.95MB Time: 2022-05-25

Software introduction: Nmap official version is a widely used port scanning tool. The latest version of Nmap is powerful and can help users expand advanced website detection...

Download now

Maybe there are still many friends who don’t know how to find devices on the network with Nmap? Then the editor will bring you the method of finding devices on the network with Nmap. I hope it can help everyone.

Basic input for nmap:

Telling nmap the address of the device you want to scan can be achieved by the following method

Unified format: nmap [scan type] [settings] {device address}

The device address (host name, IP address, network segment, etc.) can be obtained by the following method

1.-iL <filename> Enter address through file

2.-iR

3.--exclude: Exclude addresses in the file

4. Directly enter the IP or network segment (most commonly used)

1.jpg
2.jpg

The above are two simple scanning examples of nmap, which only feedback some simple information. However, for other data collection, nmap has detailed parameters to implement. The following will start to explain the use of some common parameters:

Scan parameters:

1.-sL does not scan, only completes DNS resolution and URL conversion

2.-sP sends ICMP echo request and TCP ACK request by default (port 80)

3.-PN without ping

4.-Ps <port number list> Send empty packets marked with TCP protocol SYN (port 80)

5.-PA <port number list> Send empty packets marked with TCP protocol ACK (port 80)

6.-PU <port number list> (port 31338)

7.-PE-PP-PM

8.-PO <Protocol List>

9.-PR (ARP ping)

Set parameters:

--traceroute

-n (do not do DNS resolution)

-R (DNS resolves all addresses, and does not resolve offline IPs by default)

-system-dns (use system DNS)

--dns-servers [[…]] (use other DNS)

The above is the method for Nmap to find devices on the network brought by the editor. Friends who don’t know yet can learn it.

Related articles