Akash Trehan
Write-ups

OverTheWire Bandit Level 14 → 15 Walkthrough

Submitting a password to a localhost port using netcat

By Akash Trehan · · 1 min read · Wargame
OverTheWire Bandit Level 14 wargame title banner
OverTheWire Bandit Level 14 → 15 Walkthrough

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: ssh, telnet, nc, openssl, s_client, nmap

Helpful reading:

Write-up

We logged into this level using the private ssh key and not the password so currently we don’t have the password. But we can take a look at the password(for Level 14 only)since we know all passwords are in etc/bandit_pass directory.

1
cat /etc/bandit_pass/bandit14

To submit the password to localhost I used nc command.

1
echo 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e | nc localhost 30000

nc_command

Level 15 password: BfMYroe26WYalil77FoDi9qh59eK5xNr