Host Discovery


Cheatsheet

CommandDescription
sudo nmap 10.10.1.0/24 -sn -oA tnet | grep for | cut -d" " -f5Scanning a network range
sudo nmap -sn -oA tnet -iL hosts.lst | grep for | cut -d" " -f5Scanning IP list
sudo nmap -sn -oA tnet <target1> <target2> <target3> | grep for | cut -d" " -f5Scanning multiple IPs
sudo nmap <target> -sn -oA hostScan a single IP
sudo nmap <target> -sn -oA host -PE --packet-traceTo see all packets sent and received
sudo nmap <target> -sn -oA host -PE --packet-trace --disable-arp-pingDisable ARP ping

Resources -

Identifying OS based on TTL (Time-to-live) - TTL