rtmoran.org — Cybersecurity and Linux Resource

Over the Wire’s Bandit Challenge – Level 14

overthewire

Level Instructions:

“The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost.”


bandit14@bandit:~$ cat /etc/bandit_pass/bandit14
4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e
bandit14@bandit:~$ nc localhost 30000
4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e
Correct!
BfMYroe26WYalil77FoDi9qh59eK5xNr

First, we need to print out the password to the current user bandit14.  The location of the password /etc/bandit_pass/bandit14 was revealed in the previous challenge.  Next we can establish a connection with localhost:30000 using either netcat or telnet.  We paste the current password, once connected, and the password for bandit15 is returned.

Leave a Reply

Your email address will not be published. Required fields are marked *