Hi all,

If I may ask for your comments.

I have to set on my webserver pages written by someone. One of file which
must be put in cgi-bin directory is following script (only this two lines).

#!/usr/bin/env bash
./foo bar.html

The whole construction looks dangerous for me. I'm thinking about hardening 
this but I'm not sure what to to. 

#!/usr/bin/env ./foo bar.html

Looks better? Or env runs bash anyway? 

*Any* comment welcome.

Regards,
Chris

Reply via email to