hopes has asked for the wisdom of the Perl Monks concerning the following question:
#c:\perl\bin\perl.exe -w use CGI 'param','header'; print header('text/plain'); print "Dir:\n"; print `cmd.exe /c dir c:\\temp`; print "\n\nver:\n"; print `cmd.exe /c ver -a`; exit(0);
If I run the code in my own windows machine or in a linux machine, it works correctly;Dir: Acceso denegado. ver: Microsoft Windows 2000 [Versi¢n 5.00.2195]
$_=$,=q,\,@4O,,s,^$,$\,,s,s,^,b9,s, $_^=q,$\^-]!,,print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A system call
by vladb (Vicar) on May 15, 2002 at 17:37 UTC | |
|
Re: A system call
by atopolc (Pilgrim) on May 15, 2002 at 16:20 UTC |