We will also use the find command:
find
find / -user bandit7 -group bandit6 -size 33c 2>/dev/null
/: Search in the whole system.
/
-user: Specify the owner of a file.
-user
-group: Specify the group owned this file.
-group
-size: Search for specific size in bytes.
-size
2>/dev/null: Redirect errors.
2>/dev/null
If we cat it:
Here is the password for the next user.
Last updated 11 months ago
cat /var/lib/dpkg/info/bandit7.password