Level 14 → 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.
Write-Up
The password for the bandit14 level: MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS
Use Netcat
nc
to connect to localhost on port 30000 and submit the password:
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS" | nc localhost 30000
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS"
: Outputs the bandit14 password|
: Pipes the output to the next commandnc localhost 30000
: Connects to localhost on port 30000 and sends the piped input

The server responds with the password for the next level: 8xCjnmgoKbGLhHFAZlGE5Tmu4M2tKJQo
Access the next level:
ssh [email protected] -p 2220
Enter the password when prompted.
Lessons Learned
Netcat
nc
is a versatile tool for reading from and writing to network connectionsLocal services can be accessed using
localhost
as the hostnamePiping commands can be used to send data to network services
-- Othmane
Last updated
Was this helpful?