
Bandit: Level 23 => Level 24
A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration and see what command is being executed. Here are the details which we have from the previous level: Host: bandit.labs.overthewire.org Port: 2220 Username: bandit23 Password: 0Zf11ioIjMVN551jX3CmStKLYqjk54Ga So, The SSH syntax will be: sshpass -p 0Zf11ioIjMVN551jX3CmStKLYqjk54Ga ssh [email protected] -p 2220 The cron jobs are usually stored in /etc/cron.d. We start by navigating to this directory. cd /etc/cron.d ls # Output: # cronjob_bandit22 cronjob_bandit23 cronjob_bandit24 e2scrub_all otw-tmp-dir sysstat Among these files, cronjob_bandit24 is interesting since it suggests a cron job for bandit24. ...