OverTheWire: Updated Bandit Walkthrough — Level 23

Samxia99
2 min readFeb 17, 2024

--

Hello everyone, there has been an update to level 23 of the bandit game. This is the first updated write-up on this level and we hope it will be helpful.

hello Folks!!! it’s a samxia99

I have written this article to help beginners and to explain how I solved one level. designed to be useful for those looking for guidance. I hope my walkthrough will be helpful.

Just a quick reminder that the game has been updated, so the password has also been changed. I hope this password is helpful!

Bandit Level 23 → Level 24

  • Level Goal

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.

NOTE: This level requires you to create your own first shell-script. This is a very big step and you should be proud of yourself when you beat this level!

NOTE 2: Keep in mind that your shell script is removed once executed, so you may want to keep a copy around…

  • command used

cron, crontab, crontab(5) (use “man 5 crontab” to access this)

Pass:-VAfGXJ1PBSsPSnvsjI8p759leLZ9GGar

after given permission to file you need to wait 1 or 2 min.

This level has been slightly changed, and the folder — in which the script needs to be copied — changed — this can lead to a Permission Error when trying to use the ‘echo’ command. Make sure to check the cronjob script for the correct folder.

Hopefully, this write-up will be useful for everybody, I have tried to make it easy to read. and this password is not working in your case so try to solve it yourself.

PS: I will write the next part right after this.

--

--

Samxia99
Samxia99

Written by Samxia99

This is for me to document my journey through hacking, CTFs and Hacker tool's | i also love to read novel.

No responses yet