Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

Replies are listed 'Best First'.
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)


    "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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-04-21 04:52 GMT
Find Nodes?
    Voting Booth?