Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 606 Bytes

l6.md

File metadata and controls

20 lines (20 loc) · 606 Bytes

Level 6

Very similar to previous level.
Since file is anywhere on the server. We go to the top of the hierarchy tree and use the find command.

Commands-

ssh bandit6@bandit.labs.overthewire.org -p 2220

cd .. x2

find -size 33c -user bandit7 -group bandit6
-user specifies of user owner of the file
-group specifies the group owner of the file
Out of many of the outputted lines on reads..
./var/lib/dpkg/info/bandit7.password
So our next step is...

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

Flag - z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S