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

Re^2: obfuscating source code

by CountZero (Bishop)
on Dec 25, 2004 at 12:33 UTC ( #417407=note: print w/replies, xml ) Need Help??

in reply to Re: obfuscating source code
in thread obfuscating source code

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

Replies are listed 'Best First'.
Re^3: obfuscating source code
by zentara (Archbishop) on Dec 25, 2004 at 14:14 UTC
    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://417407]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2018-05-25 04:16 GMT
Find Nodes?
    Voting Booth?