Cmd2 challenge#
This challenge is very similar to cmd1, this time all PATH variables are erased and there is a similar blacklist the key to solving this challenge is to bypass the “path poisoning” entirely by using the “command -p” key which default to the regular PATH
So in order to solve it ; “./cmd2 “command -p cat fl?g”” gets us the flag