Bandit Level 22 β†’ Level 23

cat /etc/cron.d/cronjob_bandit23

Lets read what is inside this script:

cat /usr/bin/cronjob_bandit23.sh

If we tried to execute it:

/usr/bin/cronjob_bandit23.sh

Since it runs every one minute as the user bandit23, we can get the file where the script saves the output to using the same way:

echo I am user bandit23 | md5sum | cut -d ' ' -f 1

This is the password.

Last updated