OverTheWire - Bandit - Level 32 → Level 33
Warning: This post contains a solution!
Only continue if:
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
Connect to the server using the following credentials:
Server: bandit.labs.overthewire.org
Port: 2220
Username: bandit32
Password: 56a9xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Level Goal is:
After all this
git
stuff its time for another escape. Good luck!
Once logged in, we are welcomed by the message “WELCOME TO THE UPPERCASE SHELL”.
|
|
A few attempts show us that everything we enter is converted to uppercase letters.
|
|
As commands that could help us to solve this level, sh
and man
are given. After some googling and reading the man
page I came across “$0” which allows us to invoke a shell.
The next steps are simple, we print the contents of the file bandit33
under /etc/bandit_pass/bandit33
.
|
|