Monday, September 26, 2022

Bandit21

 

Bandit21





bandit level21

ssh server: bandit.labs.overthewire.org port 2220

username: bandit21

password: NvEJF7oVjkddltPSrdKEFOllh9V1IBcq



A new type of challenges this time we are going to execute a cronjob script, 1st of all find the script related to our challenge



1st we read the job configuration under the /etc/cron.d



This configuration shows that it executes a script saved in /usr/bin/cronjob_bandit22.sh



The script reads the bandit22 password from /etc/bandit_pass/bandit22 and send it to a temp directory, so all what we need to read this temp directory



 this is the password for the next level bandit22

tell we meet there


Your comments and feedback are highly appreciated

Thank You


No comments:

Post a Comment

Bandit26

  Bandit26 bandit level26 ssh server: bandit.labs.overthewire.org port 2220 username:  bandit26 password:  c7GvcKlw9mC7aUQaPx7nwFstuAIBw1o1 ...