linuxBandit Level 22 β†’ Level 23

cat /etc/cron.d/cronjob_bandit23

Lets read what is inside this script:

If we tried to execute it:

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:

This is the password.

Last updated