1344

Executarea unei comenzi in PERL

Din continutul cgi-ului:$command="ls";system($command);http://zeus2/cgi-bin/command.cgi da rezultat: "Internal Server Error" desizeus2# perl command.cgiContent type:text/HTMLchat.cgi ser2.cgi stat.cgi statistic.dataprintenv sms.cgi statistic.cgi test.cgizeus2# perl -cw chat.cgichat.cgi syntax OKDaca sterg comanda "system($command);" totul merge bine!Ceva idei, propuneri, opinii? :)
0