Read a file!
We need to read a file that contains the password! Lets start by listing all the files in the current directory (folder).
# -a => All files # -l => Long List (formats output) ls -al
Here we see the readme file mentioned on the OTW page.
We will use the cat command to print the password:
cat
Then we simply type exit to exit the shell and reconnect as bandit1 and use the provided password
Last updated 8 months ago
cat ./readme
exit ssh -p 2220 bandit1@bandit.labs.overthewire.org