Bandit Level 6 β†’ Level 7

We will also use the find command:

find / -user bandit7 -group bandit6 -size 33c 2>/dev/null
  • /: Search in the whole system.

  • -user: Specify the owner of a file.

  • -group: Specify the group owned this file.

  • -size: Search for specific size in bytes.

  • 2>/dev/null: Redirect errors.

If we cat it:

cat /var/lib/dpkg/info/bandit7.password

Here is the password for the next user.

Last updated