The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost.
The password for the bandit14 level: MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS
Use Netcat nc to connect to localhost on port 30000 and submit the password:
nc
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS" | nc localhost 30000
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS": Outputs the bandit14 password
echo "MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS"
|: Pipes the output to the next command
|
nc localhost 30000: Connects to localhost on port 30000 and sends the piped input
nc localhost 30000
The server responds with the password for the next level: 8xCjnmgoKbGLhHFAZlGE5Tmu4M2tKJQo
Access the next level:
Enter the password when prompted.
Netcat nc is a versatile tool for reading from and writing to network connections
Local services can be accessed using localhost as the hostname
localhost
Piping commands can be used to send data to network services
-- Othmane
Last updated 1 year ago
ssh [email protected] -p 2220