Bandit Level 3-4@overthewire.org
Description
The password for the next level is stored in a file called spaces in this filename located in the home directory
Current level credentials
Key | Value |
---|---|
Server-name: | bandit.labs.overthewire.org |
Port: | 2220 |
User: | bandit3 |
Password: | aBZ0W5EmUfAf7kHTQeOwd8bauFJ2lAiG |
Current level login
Log in
1 |
|
sshpass
before using it. The ssh
command can also be used on its own. If so, copy-paste the password when requested.
Hints And Solution
Hint(s)
Find out how to switch directories in Linux. Consult the Resources section.
Learn about displaying hidden files in Linux. How to differentiate between conventional (non-hidden) files and hidden ones
Solution
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
- use the options
-a
or-A
withls
. Learn what the option-l
implies
In Linux, hidden files begin with the dot character .
To display them with ls
, use the flag -a
or -A
. An excerpt from the ls
man page is provided below. If you are unsure of what options to use with the command, use man
. man
may be used online or on the terminal, like man ls
. For instance, https://linux.die.net/man includes substantial Linux documentation as well as the man pages for all of the terminal commands.
1 2 3 4 5 |
|
Resources
Resources
Bandit-level4@overthewire
How to reference filename with spaces in Linux
Google Search for “spaces in filename”
Comments
Any feedback and suggestions are welcome. This website was created using mkdocs and the material plugin. If you want, you can make a pull request. The repository is https://github.com/dabonzo/itsec_hp