Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Encrypt perl script

by elef (Friar)
on Jan 27, 2011 at 18:31 UTC ( #884627=note: print w/ replies, xml ) Need Help??


in reply to Encrypt perl script

How about packaging the script into an executable with pp?
I'm not sure how hard it is to pick an executable apart, but I guess it would stop all but the most savvy people from having a look inside. Of course it might interfere with the functionality you want from the script... nothing is perfect, I guess.


Comment on Re: Encrypt perl script
Re^2: Encrypt perl script
by marto (Chancellor) on Jan 28, 2011 at 14:28 UTC

    You just have to unzip the file created by pp.

      Hmm, easier then I thought. Still, if the user has no idea where the .exe came from, they might not think to try and unzip it. It's certainly some level of protection. I guess it all depends on what the OP wants to do.

        The Security through obscurity debate aside, it is a barrier I agree, just not a particularly tough one to overcome. Add to the mix that by default pp doesn't clean up after itself, that is to say that once the executable is run the entire contents us extracted to a temporary area, so that it starts up quicker in future. This would be trivial to find when all modern operating systems allow users to find new files created (within a date or date range).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-10-23 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls