OverTheWire - Bandit - Level 2 → Level 3
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: bandit2
Password: CV1Dxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Let us have a look at the files in the current folder:
|
|
Just on file named “spaces in this filename” __ is available.
Let us output the content of it using apostrophes, because the filename has spaces in it:
|
|
Another way to output the content of files with spaces in the filename is to escape the spaces:
|
|