Scan a local network for devices with a specific open port (nmap)
nmap -p 22 --open 192.168.1.0/24
Scans the entire 192.168.1.0/24 subnet and lists only the hosts that have the specified TCP port (e.g., 22 for SSH) open.
nmap -p 22 --open 192.168.1.0/24
Scans the entire 192.168.1.0/24 subnet and lists only the hosts that have the specified TCP port (e.g., 22 for SSH) open.