You found a hidden port with nmap.
nmap (Network Mapper) is a free tool that checks which computers are online and which ports on them are listening. It is usually the first step of recon: learning what is on a network before you test it.
Every port you scan comes back with one of three answers:
That is the whole basic command: nmap plus a target. By default it checks the 1,000 most common ports, not all of them. Remember that for later.
| Flag | What it does |
|---|---|
-sn | Only check if the host is alive |
-sV | Identify software and version |
-p- | Scan all 65,535 ports |
-p 80,443 | Scan chosen ports only |
-O | Guess the operating system |
-T4 | Scan faster |
192.168.1.10 and find the service hiding on a port the default scan misses.nmap command. Note which ports are open.-s and ends with a capital V. Add it before the IP address.nmap flag1 flag2 target. Use both ideas from hints 1 and 2, then read the VERSION column.| Port | Service | Usually |
|---|---|---|
| 21 | FTP | File transfer |
| 22 | SSH | Remote login |
| 53 | DNS | Name lookups |
| 80 | HTTP | Website |
| 443 | HTTPS | Secure website |
| 3306 | MySQL | Database |
| 8080 | HTTP-alt | Proxy or admin site |