Patch found a flag! He stored it in his home directory... should be able to keep it?
From the description, we know that the flag is in the home directory of the user patch.
patch
But we cannot access the home directory of patch because we don't have the permission to do so.
sudo wasnt even there π
sudo
Looking for the flag using find
find
Looking for interesting binaries with suid bit set but nothing
suid
Looking for interesting files with sgid bit set, we find the find
sgid
Using find we can get the flag
flag{e4bd38e78379a5a0b29f047b91598add}
Last updated 2 years ago