nmap

Ubuntu 22.04.5 LTS

$ sudo apt update && sudo apt upgrade
$ sudo apt install nmap
$ nmap --version
$ nmap dixu.ddns.net
$ nmap 192.168.2.5
$ nmap -p 8080 192.168.2.5
$ nmap -p 22,21,80 192.168.2.5
$ nmap -p 22,21,80 192.168.2.5-253
$ nmap -sV 192.168.2.5 -p 8080	# Detecting server-side software version information
$ sudo nmap -O 192.168.2.5	# Identify the operating system of the target host
$ sudo nmap -sU 192.168.2.5 -p 53,161
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus