in reply to Encrypt perl script

it is possible to "insert" a deletion command inside the script so as, after executing all the commands it will be "self-destroyed"? Or I have been watching Mission Impossible for so long??? :P

Replies are listed 'Best First'.
Re^2: Encrypt perl script
by Anonymous Monk on Jan 27, 2011 at 17:37 UTC
    Cool! I inserted unlink $0 in the end... Of course this help only if the user does not descrypt the file before running it...
      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.

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