I found a interesting binary with this command

find / -not -type l -perm -o+w -user john 2>/dev/null

Untitled

But this script is not using ABSOLUTE path of that binary

Untitled

I used that to escalate to john by doing a PATH HIJACKING

Path Hijacking

export PATH=/tmp/cxnsxle/:$PATH

Untitled


Flag

DarkHole{You_Can_DO_It}