Over The Wire


Bandit

Host: bandit.labs.overthewire.org

Port: 2220



Level 26

ssh bandit26@bandit.labs.overthewire.org -p 2220
password: c7GvcKlw9mC7aUQaPx7nwFstuAIBw1o1

Objective:

Good job getting a shell! Now hurry and grab the password for bandit27!

Just like 25, shrink the terminal so you get the "more option" and then v to enter vim

CLI:

bandit26@bandit:~$ whoami
bandit26
bandit26@bandit:~$ ls
bandit27-do text.txt
bandit26@bandit:~$ ./bandit27-do
Run a command as another user.
Example: ./bandit27-do id
bandit26@bandit:~$ ./bandit27-do cat /etc/bandit_pass/bandit27
YnQpBuifNMas1hcUFk70ZmqkhUU2EuaS
bandit26@bandit:~$

Bandit