-
Perl question
I've just recently started learning Linux and am looking at Perl as a scripting language for administrative tasks. It would be nice to be able to use the same language for my Linux and win boxes.
Everything I have found says that Perl will run on Windows but not natively. You have to install something like ActiveState's ActivePerl in order to run your Perl scripts.
In installing this software does it not create another problem in that now if someone attacks that particular box they an execute perl scripts on it that they could not before.
Is the advantage worth the risk?
-CD :jester:
-
Re: Perl question
Quote:
Originally posted here by cable dog
I've just recently started learning Linux and am looking at Perl as a scripting language for administrative tasks. It would be nice to be able to use the same language for my Linux and win boxes.
Everything I have found says that Perl will run on Windows but not natively. You have to install something like ActiveState's ActivePerl in order to run your Perl scripts.
In installing this software does it not create another problem in that now if someone attacks that particular box they an execute perl scripts on it that they could not before.
Is the advantage worth the risk?
-CD :jester:
Yes, it's worth the risk. The risk would be the same as someone running a VBScript using Windows Scripting Host.
Just do NOT put perl.exe somewhere it can be called from using IIS (or any other webserver). If someone is able to run perl using http://yourserver/cgi/perl.exe or something simular you are dead.
ActivePerl is IMHO the best perl distro for win32. I use it on a daily basis (for work and play).
-
i have to agree, perl is an amazing language... i haven't written code in any other language in probably 8 years, yet I am writing more powerful utilities than ever before. There are alot of very good books on perl, most notibly the O'reilly books http://perl.oreilly.com/ I've actually got a collection fo perl books going, I just wish i had gotten the perl cookbook long ago, and wasn't waiting for some spare cash to do it.
but like sirdice said, just make sure that you aren't able to access perl from your web services and you'll be fine.
-
-
tip
perl doesn´t run natively on linux either, the diference is that linux already comes with it.
perl begginers tend to make serious security mistakes, but that´s something you should learn by yourself.
-
tip
perl doesn´t run natively on linux either, the diference is that linux already comes with it.
perl begginers tend to make serious security mistakes, but that´s something you should learn by yourself.