Overthewire-Bandit Level 6
Ref:
Bandit Level 6
Level Goal 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
Commands you may need to solve this level ls , cd , cat , file , du , find , grep
#
SSH
1
2
ssh bandit6@bandit.labs.overthewire.org -p 2220
HWasnPhtq9AVKe0dmk45nxy20cvUa6EG
# Commands:
1
2
bandit6@bandit:~$
find / -type f -user bandit7 -group bandit6 -size 33c 2>/dev/null
Output:
1
/var/lib/dpkg/info/bandit7.password
1
2
3
4
bandit6@bandit:/var/lib/dpkg/info$
cat bandit7.password
morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj
This post is licensed under CC BY 4.0 by the author.
