Overthewire Bandit Level 9 To 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.
## Commands you may need to solve this level
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd
Lets take a look and cat the file
bandit7@bandit:~$ ls
data.txt
bandit7@bandit:~$ cat data.txt
...snip...
#giant object here... Okay, need to look for stuff within it
Lets see what ‘strings’ does
...snip...
bandit9@bandit:~$ strings data.txt
WB|{
GhG$
========== the*2i"4
DUJmU
ux.j
=:G e
OxYF
68}j
Q~a`%
========== password
#|-l
G}`:
<I=zsGi
&15h
!G[\
uOZ\K
BYD1
D2?
Z)========== is
x[U*
m/;7
r%z$c
C !n
&/Lhh[}~s
b$J})Q
z3p)
fRk4Ck
Jq{`
fVHi
Y<_M
88)%
Emlld
&========== redacted
_Gmz
\Uli,
A5RK
S'$0
<4t",
4cXO
...snip...
Mkay, lets see if we can filter that with some equal signs
bandit9@bandit:~$ strings data.txt | grep "==="
========== the*2i"4
========== password
Z)========== is
&========== redacted
The password for level 10:
redacted
Connect to level 10.
bandit9@bandit:~$ ssh bandit10@localhost
#Accept the fingerprint ('yes') and enter the password.
On the next episode of Bandit…