OverTheWire - Bandit - Level 18 → Level 19
Warning: This post contains a solution!
Only continue if:
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
Connect to the server using the following credentials:
Server: bandit.labs.overthewire.org
Port: 2220
Username: bandit18
Password: kfBfxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Level Goal is:
The password for the next level is stored in a file readme in the homedirectory. Unfortunately, someone has modified .bashrc to log you out when you log in with SSH.
As we know the path to the readme file, we can use ssh to connect to the server and append a command to copy the content of the readme file to a local file called password:
|
|