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
ncto connect to localhost on port 30000 and submit the password:
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS" | nc localhost 30000echo "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:
Enter the password when prompted.
Lessons Learned
Netcat
ncis a versatile tool for reading from and writing to network connectionsLocal services can be accessed using
localhostas the hostnamePiping commands can be used to send data to network services
-- Othmane
Last updated
Was this helpful?