Bandit 19
Objectives
Level GoalThe 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.
Solution
let's launch ssh using the bash on my system and not the bash of the ssh system
**I can't really think of a good way to do this with python other than os.system which just feels like cheating at this point**
Objectives
Level GoalThe 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.
Solution
let's launch ssh using the bash on my system and not the bash of the ssh system
ssh bandit18@bandit.labs.overthewire.org -p 2220 bashThis is a OverTheWire game server. More information on http://www.overthewire.org/wargames
bandit18@bandit.labs.overthewire.org's password:lsreadmecat readmeIueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x
**I can't really think of a good way to do this with python other than os.system which just feels like cheating at this point**
Comments
Post a Comment