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
- How the Internet works in 5 minutes (not completely accurate)
- IP Addresses
- IP Addresses on Wikipedia
- Localhost on Wikipedia
- Ports
- Port (computer networking) on Wikipedia
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 30000Which 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