in reply to Running untrusted perl code
I assume you are talking about letting people use a browser based perl execute widget for some sort of tutorial purposes? Each CGI is a separate process so you could still consume all your resources quite easily I would think. 2% at a time x 50 times == 100 %
use LWP::Simple; get( 'http://domain.com/cgi-bin/safe.pl?code=fork+while+1;dump' ) for +1..10000;
Code intentionally partially invalid
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Running untrusted perl code
by BUU (Prior) on May 30, 2004 at 21:33 UTC | |
by PodMaster (Abbot) on May 31, 2004 at 00:25 UTC |