Host discovery

Host discovery

arp-scan

sudo arp-scan 192.168.1.0/24

To install arp-scan issue the command:

sudo apt-get install arp-scan

arp-scan home page http://nta-monitor.com/tools-resources/security-tools/arp-scan

ping

ping -c 2 192.168.1.2

send 2 ICMP ECHO REQUEST packets to 192.168.1.2 machine

nmap

sudo nmap -sn -PE --send-ip 192.168.1.0/24

-sn disable port scan

-PE ICMP ECHO REQUEST

–send-ip disable arp scan
 

Host discovery by probing ports

Ignore host discovery (-Pn) and output the hosts that have port 22 (-p 22) open (–open).

sudo nmap -Pn -sS -p 22 --open 192.168.1.0/24

-sS syn scan

%d bloggers like this: