HTB Labs

Full port scanning

  • sometime most of the labs run service at higher port. So you need to scan full port range using the following commend

nmap -sC -sV -p- $IP > nmap.txt

where

-p- : Full port scan

-sC : --script=default

-sV : Probe open ports to determine service/version info

> nmap.txt : Full port scan take time and exporting result to txt file is best practice

Last updated