15 - cmd2
Last updated
Was this helpful?
Last updated
Was this helpful?
Daddy bought me a system command shell. but he put some filters to prevent me from playing with it without his permission... but I wanna play anytime I want!
ssh cmd2@pwnable.kr -p2222 (pw:flag of cmd1)
Another blacklisting challenge, this time on steroids. The greatest hurdle is the prohibition on using forward slash.
dash
supports octal encoding [not hex]. It's important to surround the argument with single quotes soprintf
won't execute before being passed as an argument.
Bash has a builtin named command
. It can be used with the flag -p
to revert to the default function lookup.
If you navigate to the root directory $PWD will equal to, well, forward slash.