Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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.

Replies are listed 'Best First'.
Re^2: Encrypt perl script
by marto (Bishop) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884627]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2018-03-20 15:17 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (254 votes). Check out past polls.