Offense
Available nowRedline-CTF
CompTIA PenTest+ (PT0-003)
A capture-the-flag range for penetration-testing students. Each student gets a private Kali Linux desktop in the browser and a set of vulnerable targets to attack.
- 42 challenges across all 5 PenTest+ (PT0-003) domains
- Linux, container, cloud-misconfiguration and AI-security targets
- Every challenge mapped to a published exam objective
Read the transcript
A student opens a Kali Linux terminal, reads the README and notes/targets.md, which lists one lab host: apex-files at 10.0.7.21. They open the challenge DEMO-VULN, "Read What You Shouldn't". The scenario: a file server serves reports from /api/files, and the student should see whether it only serves reports.
The tasks are to request a normal report, test how the name parameter handles paths, and read /srv/flag.txt on the server.
A request for report.pdf returns 200 OK as a PDF. A request for /etc/passwd returns 400 Bad Request: absolute paths not allowed. A request for ../etc/hostname returns 404 Not Found. A request for ../../etc/hostname returns 200 OK and prints apex-files, so the server follows paths out of its reports folder. A request for ../../srv/flag.txt returns the challenge's flag, a short code in the form PENTEST{...}.
Starting out? Redline-CTF Lite is the guided intro (in development).