Bandit Level 6

OverTheWire-Level Directory
Previous Level: 5

Level 6 Fight!

In order to begin you will need to use PuTTY or preferably Linux and use the following information

If you are currently in a level type “logout”

Now type “ssh bandit6@bandit.labs.overthewire.org -p 2220”
Password:”DXjZPULLxYr17uwoI01bNLQbtFemEgo7”
We are now into level 6

For this level we are told

“The password for the next level is stored somewhere on the server and has all of the following properties:
owned by user bandit7
owned by group bandit6
33 bytes in size”

To find the password we will need to find the correct file

“find / -user bandit7 -group bandit6 -size 33c”

This will show “/var/lib/dpkg/info/bandit7.password” as a suspect

Next we will

“cat /var/lib/dpkg/info/bandit7.password” to read the file

we will find the password

“HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs”

Once again we can use
“ssh bandit7@bandit.labs.overthewire.org -p 2220”
and the password we just found to login to the next level

Next Level: 7