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, nmapHelpful Reading Material
How the Internet works in 5 minutes (YouTube) (Not completely accurate, but good enough for beginners)Solution:
IP Addresses
IP Address on Wikipedia
Localhost on Wikipedia
Ports
Port (computer networking) on Wikipedia
- [Comment] Using SSH to connect the server
- sp@simple-plan:~|=> ssh bandit14@bandit.labs.overthewire.org
...
bandit14@bandit.labs.overthewire.org's password: 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e - [Comment] Using netcat to connect port 30000 on localhost
- bandit14@melinda:~$ echo 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e | nc -v localhost 30000
- Connection to localhost 30000 port [tcp/*] succeeded!
- Correct!
- BfMYroe26WYalil77FoDi9qh59eK5xNr
- [Comment] Using exit command to disconnect connection to server
- bandit14@melinda:~$ exit
- logout
- Connection to bandit.labs.overthewire.org closed.
- [Comment] It's done! Saving the password for next level.
printf 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e | nc localhost 30000
ReplyDeletequicker - telnet 127.0.0.1 30000 -l bandit15
ReplyDelete