Host and Port Scanning
After we have found out that our target is alive, we want to get a more accurate picture of the system. The information we need includes:
Open ports and its services
Service versions
Information that the services provided
Operating system
Trace nmap port scan
z3tssu@htb[/htb]$ sudo nmap 10.129.2.28 -p 21 --packet-trace -Pn -n --disable-arp-ping
# --packet-trace = shows all packets sent and received
# -n = Disables DNS resolution
# --disable-arp-ping = Disables ARP Ping
TCP Connect Scan on Port 443 (-sT)
This command connects and scans TCP port 443 using a TCP connect scan (-sT), including packet tracing and additional output details.
sudo nmap 10.129.2.28 -p 443 --packet-trace --disable-arp-ping -Pn -n --reason -sTLast updated