view bin/welcome @ 4864:fd8900560d51

<mroman_> env x=\'() { :;}; echo vulnerable > foo\' bash -c "echo this is a test"
author HackBot
date Thu, 25 Sep 2014 09:51:39 +0000
parents a04e3cd8408d
children
line wrap: on
line source

#!/usr/bin/perl -w
if (defined($_=shift)) { s/ *$//;  s/ +/ @ /g; exec "bin/@", $_ . " ? welcome"; } else { exec "bin/?", "welcome"; }