OverTheWire: Bandit Walkthrough - Level 7 - 12

Samxia99
4 min readFeb 14, 2024

--

hello, Folks let’s start another part of OTW, with Explanations and solved answers;

hello Folks!!! it’s a samxia99

I have written this article to help beginners and to explain how I solved some levels. It includes six levels in each part and is 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 7 → Level 8

  • Level Goal

The password for the next level is stored in the file data.txt next to the word millionth.

  • command used

ls, man, grep, strings

Pass:-TESKZC0XvTetK0S9xNwm25STk5iWrBvP

Bandit Level 8 → Level 9

  • Level Goal

The password for the next level is stored in the file data.txt and is the only line of text that occurs only once.

  • command used

grep, sort, uniq, cat

cat data.txt
sort data.txt
sort data.txt | uniq -c
Pass:-EN632PlfYiZbn3PhVK3XOGSlNInNE00t

Bandit Level 9 → Level 10

  • Level Goal

The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.

  • command used

grep, ls, strings,

Pass:-G7w8LIi6J3kTb8A7j9LgrywtEUlyyp6s

Bandit Level 10 → Level 11

  • Level Goal

The password for the next level is stored in the file data.txt, which contains base64 encoded data.

  • command used

ls, cat, base64

after decodeing on base64 we get the password.

Pass:-6zPeziLdR2RKNdNYFNb6nVCKzphlXHBM

Bandit Level 11 → Level 12

  • Level Goal

The password for the next level is stored in the file data.txt, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by 13 positions.

  • command used

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Use CyberChef to decode string, using ROT-13

Pass:-JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv

Bandit Level 12 → Level 13

  • Level Goal

The password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. For this level, it may be useful to create a directory under /tmp in which you can work using mkdir. For example: mkdir /tmp/myname123. Then copy the datafile using cp, and rename it using mv (read the manpages!)

  • command used

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd, mkdir, cp, mv, file

This level may be challenging because of the need to repeatedly decompress files, which can be a time-consuming process. I have included some screenshots to help you understand.

pass:-wbWdlBxEir4CaE8LaPhauuOo6pwRmrDw

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