Bandit Level 21
- There’s a cron job that runs periodically as bandit22. Cron job configs live in
/etc/cron.d/- checking that directory reveals which script is being run.
- Read the script at the path shown in
/etc/cron.d/cronjob_bandit22.- The script writes the bandit22 password to a file in
/tmpwith a predictable filename. catthat file directly to get the password.
- The script writes the bandit22 password to a file in
Password
gE269g2h3mw3pwgrj0Ha9Uoqen1c9DGr