Automated approach

autorecon TARGET_IP

Manual approach

nmap TARGET_IP -p- --min-rate 1400 -sV -T 4 -sC -oN output.txt

<aside> ⚠️

If the target is Windows use the below

</aside>

nmap TARGET_IP -Pn -sV -T 4 -sC -oN output.txt

#or this if you want to dive deeper

nmap TARGET_IP -Pn -p- -sV -T 4 -sC -oN output.txt

References:

autorecon

nmap

nmap-less