A journey from prisoner to root! Can you escape? ๐โโ๏ธ
Break out of the prison by exploiting vulnerabilities and escalating privileges from prisoner to root access.
Linux-based CTF involving a vulnerable prison management system. Initial access through SQL injection, followed by a series of privilege escalations using:
The entry point is a PHP-based Prison Management System, vulnerable to SQL injection. The attack begins by:
The prisoner account has limited access but can exploit a misconfigured cron job:
The guard account has enhanced privileges and access to system tools:
Final objectives after gaining warden access:
Want to test locally? Follow these steps:
git clone https://github.com/prestonzen/prison-break-pwnbox.git
cd prison-break-pwnbox
chmod +x build.sh
sudo ./build.sh
Note: The build script will automatically pull and import the database from the separate database repository.