May 2017
Intermediate to advanced
416 pages
21h 33m
English
The arguments -sn -PR 192.168.1.1/24 make Nmap initiate an ARP ping scan of all if the 256 IPs (CIDR /24) in this private network.
ARP ping scanning works in a pretty simple way:
To send an ARP request, the following command is used:
# nmap -sn -PR --packet-trace 192.168.1.254
The result of this command would be as follows:
SENT (0.0734s) ARP who-has 192.168.1.254 tell 192.168.1.102 RCVD (0.0842s) ARP reply 192.168.1.254 is-at 5C:4C:A9:F2:DC:7C NSOCK (0.1120s) UDP connection requested to 192.168.1.254:53 (IOD #1) EID 8 NSOCK (0.1120s) Read request from IOD #1 [192.168.1.254:53] (timeout: -1ms) EID 18 NSOCK ...
Read now
Unlock full access