HackTheBoxEasy
HackTheBox โ Bashed
Exploiting a web-accessible phpbash shell for initial access, then escalating via sudo to scriptmanager and abusing a cron-run Python script to land root.
Overview
Bashed is a Linux machine on HackTheBox rated Easy. The attack path goes:
- Enumerate the web server to find a PHPBash web shell
- Use the shell to get a reverse connection
- Escalate to
scriptmanagervia sudo - Abuse a cron job running a Python script as root