An automated nmap scan i use in HTB
First scan top 100 ports fast scan
Secend scan all ports 0-65535
Last one taking the resurlts from all ports scaned and add switch '-A' to check services and Ths OS that running on the box and few more.
Thank you for using this script.
Feel free to change and edit your own techniques to the script.
useage:
1-sudo chmod +x htb-nmap.sh #Just for first time
2- ./htb-nmap.sh target