Wednesday, July 1, 2015

OverTheWire - Bandit - Level 15

Level Goal

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

Commands you may need to solve this level

  • ssh
  • telnet
  • nc
  • openssl
  • s_client
  • nmap

Helpful Reading Material


For this level we'll be using telnet to connect to localhost on port 30000 which will allow us to send a message to that port.
telnet localhost 30000
Which should give you a prompt like the following:
Simply put the password used to log in to this level to retrieve the password for bandit15.

Similar to the previous level, I'm not sure how to do this in one command given that we have to wait for telnet to be ready for out input. If you have any suggestions, let me know in a comment.

EDIT:
I have found that we are able to do this in a single command chain by using netcat instead of telnet by using the following command chain:
echo "password" | nc -vvn 127.0.0.1 30000

No comments:

Post a Comment