Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: obfuscating source code

by CountZero (Bishop)
on Dec 25, 2004 at 12:33 UTC ( [id://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)

CountZero

"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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found