Bandit
level 07
soal
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
ssh
sshpass -p "HWasnPhtq9AVKe0dmk45nxy20cvUa6EG" ssh -o StrictHostKeyChecking=no bandit6@bandit.labs.overthewire.org -p 2220solve
find / -user bandit7 -group bandit6 -size 33c 2>/dev/null
# /var/lib/dpkg/info/bandit7.password
cat /var/lib/dpkg/info/bandit7.passwordflag
morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj