Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Code hiding in Perl

by Corion (Patriarch)
on Jun 26, 2015 at 07:41 UTC ( [id://1132089]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found