Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: obfuscating source code

by zentara (Archbishop)
on Dec 25, 2004 at 11:20 UTC ( #417403=note: print w/ replies, xml ) Need Help??


in reply to obfuscating source code

This method is very simple, will fool a casual observer, and is easy. Generic script compiler

It might get you past the NDA, but has been shown to be easily breakable by a competant Perl programmer.


I'm not really a human, but I play one on earth. flash japh


Comment on Re: obfuscating source code
Re^2: obfuscating source code
by CountZero (Bishop) on Dec 25, 2004 at 12:33 UTC
    Interesting, but --as I assume-- a lot of the functionality will be placed in modules, they will still have to be provided as regular .pm files and are thus open to inspection and breaking the NDA? Or is this script compiler bright enough to also encrypt all dependent modules?

    Sorry, I didn't try the script compiler myself (for lack of a C-compiler on my Winbox)

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      No, all the script compiler does is encrypt the script with RC4, and pack it into it's own data. When it runs, it unpacks the encrypted code, and exec's it. So if you want to include modules in the encryption, you probably should gut the module innards, and include them as a package in the main script. Then the whole thing gets encrypted. You also need the Perl installation, as this is not like Par, it only encrypts the script itself.

      I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-09-16 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls