Network Enumeration with Nmap (Continue Here)
Introduction
sudo nmap <scan types> <options> <target>Host Discovery
# Find the live systems' IP addresses without running port scanning.
sudo nmap <IP Address>/<Subnet> -sn -oA <Output File> | grep for | cut -d" " -f5
# Find the live systems' IP addresses from a file (Seperating each IP address with a new line)
sudo nmap -sn -oA <Output File> -iL <Input File> | grep for | cut -d" " -f5
# We can specify specific IP addresses or a specific range
sudo nmap -sn -oA <Output File> <IP Address or Range> | grep for | cut -d" " -f5Last updated