Nmap is a network mapping tool used for network discovery. Nmap can get information such as open ports, OS, version and etc. Nmap has a lot of options such as syn scan, udp scan and etc.
For this demo, we will nmap team1.pentest.id and show all items found by nmap using stealth scan.
To start, use nmap -v -A team1.pentest.id
There are 5 open ports: port 111, 3306, 443, 80 and 22. Port 22, ssh port uses OPENSSH version 7.4. Trace route indicates two hops are required to reach the server. A lot of information with just one command.