OverTheWire-Level Directory
Previous Level: 17
Level 18 Fight!
If you are currently in a level type “logout”
Now type “ssh bandit18@bandit.labs.overthewire.org -p 2220”
Password:”kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd”
Huh.. We got logged out!
For this level we are told
“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.”
For this level we know the location of the file
“ ssh bandit18@bandit.labs.overthewire.org -p 2220 cat readme”
This will connect and read the file that has the password
We then type in the current password and hit enter
We get a message that says “IueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x”
The password is “IueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x”
Once again we can use
“ssh bandit19@bandit.labs.overthewire.org -p 2220”
and the password we just found to login to the next level
Next Level: 19
