pentesting, updated
Service and version detection
Identify exactly what software and version is listening on each open port.
Goal
Turn a list of open ports into a list of named services and versions, which drives every later enumeration and vulnerability step.
How to test
nmap -sV -sC -p22,80,443 10.10.10.5 # version detection + default safe NSE scripts
nc -nv 10.10.10.5 25 # manual banner grab for a service nmap misreads
curl -sI https://10.10.10.5 # HTTP banner (Server header) without a full scan
whatweb 10.10.10.5 # web stack fingerprint (CMS, framework, versions)
What to look for
Any version string gives you a concrete search term for known CVEs; a service that refuses to banner (hardened or proxied) is itself worth noting — it suggests a more mature target.
Notes
Nmap’s -sV guesses can be wrong on non-standard ports or hardened services — confirm with a manual banner grab before relying on a version for exploit selection.