Capstone Complete!

You chained recon, exploitation and privilege escalation into one full attack path.

LABS / capstone: full chain
ADVANCED
Stages
Putting it together

The earlier labs taught single skills in isolation. A real engagement chains them: you don't know what's running until you scan, you can't pick an exploit until you know the version, and getting a shell is rarely the end — you usually land as a low-privilege user and still need to escalate.

The chain in this lab: nmap finds an outdated FTP service → Metasploit exploits its known backdoor → the resulting shell is a low-privilege user → a sudo misconfiguration gets you root.
Target

A single host, 10.10.10.50, reachable from the terminal on the right. Everything — scanning, exploiting, and escalating — happens against this one machine.

Permission first: this target is entirely simulated. The commands you'll run are real syntax, but nothing here touches a real network.
Goal: go from zero knowledge of 10.10.10.50 to a root shell, and submit the flag you find there.
1
Recon
Scan 10.10.10.50 with nmap. Find the open ports and identify the FTP service's version.
2
Exploit
In msfconsole, search for a module matching that FTP version, load it, point it at the target, and run it.
3
Escalate
The shell lands as a low-privilege user. Check your sudo rights and find the misconfigured program.
4
Loot
As root, read the flag file and submit it below.
Try first, then peek. This capstone reuses exact syntax from the earlier labs.
Start with a plain nmap 10.10.10.50, then add -sV to get the FTP version string.
Type msfconsole to switch the terminal into Metasploit mode. Then search vsftpd, use the module it finds, set RHOSTS 10.10.10.50, and run.
You're now in a plain shell as a low-privilege user. Run sudo -l to see what you can run as root, then exploit it the same way as the privilege escalation lab.
Once you're root, cat /root/flag.txt.
kali@attacker ~
kali@attacker:~$