OverTheWire - Bandit - Level 6 → Level 7
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: bandit6
Password: DXjZxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The properties we know from the level goal are:
- owned by user bandit7- owned by group bandit6- 33 bytes in size
This can be used to parametrize the “find” command:
|
|
Append ‘2>/dev/null’ to the command to get rid of the ‘Permission denied’ messages.The result of this is:
|
|
The file is located here: “/var/lib/dpkg/info/bandit7.password“Output the content of this file:
|
|