in reply to Re^2: Code hiding in Perl
in thread Code hiding in Perl

See B::Deobfuscate. Any approach to hiding Perl source code will be done through a filter which eventually calls eval on the decoded Perl code. Getting at the source code then just requires replacing eval with print.

Replies are listed 'Best First'.
Re^4: Code hiding in Perl
by sumanta (Novice) on Jun 26, 2015 at 07:46 UTC
    How will you use the de-obfuscator? The code is encrypted using some password protected custom logic not obfuscated, and it can only be run through custom interpreter (developed by me). Here the assumption is you can't decode the custom interpreter code.

      I would use overload::eval to get at the obfuscated Perl code. As long as your custom Perl interpreter can load modules, I can load other modules into it, which replace eval with my own code to print out the decrypted code.

        I am not using Perl's eval method to do in-memory execution .. You can't do that