Bandit Level 21 β†’ Level 22

Cron jobs are used to schedule tasks on Linux systems.

If we read file mentioned:

cat /etc/cron.d/cronjob_bandit22

It runs that script every one minute as the user bandit22, lets read that script content:

cat /usr/bin/cronjob_bandit22.sh

It reads bandit22 password and saves it in another file in the tmp directory, if read this file:

cat /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv

Here is the password for the next user.

Last updated