in reply to Re: Shell output in perl CGI
in thread Shell output in perl CGI

yes; that can be scary, and is along the same lines as SQL Injection.

Although, some good can come of it. I once had to write a script to bring sshd back up after it crashed from an OpenSSL upgrade messing up.

Justin

Replies are listed 'Best First'.
Re^3: Shell output in perl CGI
by jpk236 (Monk) on Feb 04, 2005 at 15:58 UTC
    to clear confusion, since most of you are probably wondering "well -- if sshd was down -- how did he write the script?"
    I wrote the script in notepad; uploaded it via the ftp daemon which was still running; then executed the script by moving it to my public_html dir and going to it from a browser.

    Justin