nmap
Install
sudo apt updatesudo apt install nmapUsage
Ping Scan:
sudo nmap -v -sn 192.168.0.0./16 10.0.0.0/8Service/Version Scan:
sudo nmap -sV $target_ipOpen Ports:
sudo nmap -p- $target_ip-pcan be a comma-delimited list of port numbers (i.e.p80,443).
Aggressive Scan:
sudo nmap -A $target_ip-Aenables OS detection, version detection, script scanning, and traceroute.
Firewall Scan:
sudo nmap -sA $target_ipUseful Scripts
http-vuln:
sudo nmap -sV --script vuln $target_ip -oN nmap-output.txtLast updated
Was this helpful?