TARGET: 10.10.15.150 — services.apexlab.local
Nmap has confirmed several open ports on 10.10.15.150. Now use Netcat (nc) to manually interact with those services — grab banners, send raw requests, check ports, and demonstrate how nc can be used to receive a reverse shell and transfer files.
| Port | Service |
|---|---|
| 21/tcp | FTP — vsftpd |
| 22/tcp | SSH — OpenSSH |
| 80/tcp | HTTP — Apache |
| 443/tcp | HTTPS |
| 4444/tcp | Reserved for listener |
The Listener window simulates a second terminal — it shows what the receiving end of a netcat connection sees. Set up your listener there with nc -lvnp 4444, then from the main terminal connect back to simulate a reverse shell.
| Flag | Description |
|---|---|
| -l | Listen mode — wait for incoming connection |
| -v | Verbose — show connection details |
| -n | No DNS resolution (use IPs only) |
| -p [port] | Local port to listen on |
| -z | Zero-I/O mode — port scanning only |
| -u | UDP mode (default is TCP) |
| -w [sec] | Timeout for connections |
| -e [cmd] | Execute command on connect (ncat/older nc) |