in reply to Re: Encrypt perl script
in thread Encrypt perl script

Cool! I inserted unlink $0 in the end... Of course this help only if the user does not descrypt the file before running it...

Replies are listed 'Best First'.
Re^3: Encrypt perl script
by pemungkah (Priest) on Jan 28, 2011 at 01:59 UTC
    There are two huge problems that no obfuscation can address well - B::Deparse and the debugger.

    If your program is executable at all, B::Deparse will print the source. Similarly, if the program's executable at all, the debugger's list command will display the source code.

    One of the few ways to protect your source is to host it one place and supply a thin-client front end that connects to the hosted code to perform functions. You never distribute the protected code at all.

    What's the reason you want to do this? Maybe there's a better option.

Re^3: Encrypt perl script
by ww (Archbishop) on Jan 28, 2011 at 02:05 UTC
    So this is a single-use program?

    And you hope they'll buy it again, next time they need it?

    Maybe your problem is not "Mission Impossible" but rather "Modern Marketing Techniques?"