in reply to Re: How to execute a shell command from a CGI script
in thread How to execute a shell command from a CGI script

I have been validating in the script whether any null values are there. I have removed that code, so that it can easily understand.
  • Comment on Re^2: How to execute a shell command from a CGI script

Replies are listed 'Best First'.
Re^3: How to execute a shell command from a CGI script
by choroba (Cardinal) on Aug 21, 2014 at 07:52 UTC
    ; rm -rf / is much more dangerous than a null value.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^3: How to execute a shell command from a CGI script
by marto (Cardinal) on Aug 21, 2014 at 07:54 UTC

    You are missing the more serious point. A null value is the least of your concerns, imagine what commands someone could make this run, and you execute them via sudo!