Re: [Help-bash] How to test against shell code injection?
From:
Chris Down
Subject:
Re: [Help-bash] How to test against shell code injection?
Date:
Mon, 8 Jul 2013 10:50:48 +0800
User-agent:
Mutt/1.5.21 (2010-09-15)
On 2013-07-07 23:48, adrelanos wrote:
> I wrote a server in bash. It handles potentially untrusted input.
>
> Do you know some code to test if its safe?
Just like in any other language, you can't just throw code at a problem to test
if something is "safe". The code needs to be reviewed. This totally depends on
*how* you are handling the input, which you have not specified.
Show the minimum of code that represents your query.