Goal
Retrieve the next password by submitting the current level’s password to port 30000 on localhost.
Hints
localhostmeans “this machine”.nc(netcat) can send data to a TCP port.- You can type/paste the password interactively or pipe it.
Solution (click to reveal)
- SSH in:
ssh bandit15@bandit.labs.overthewire.org -p 2220
- Connect to the local service:
nc localhost 30000
- Paste the current password and press Enter.
The service should return the password for Level 16.
Alternative (pipe):
echo "<current-password>" | nc localhost 30000
Notes
- If
ncisn’t installed, tryncat. - If it connects but echoes, you might be on the wrong port (double-check the level goal).