Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

While we are at B::DeObfuscate

by Anonymous Monk
on Mar 20, 2003 at 16:20 UTC ( [id://244620]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Here is a list of other commercial Perl obfuscators: 1) Obcode 2) HOTIce Stealth Compiler (besides our favorite Stunnix Perl-Obfus). May be we'll produce deobfuscators for them too while we are at it?

Replies are listed 'Best First'.
Re: While we are at B::DeObfuscate
by broquaint (Abbot) on Mar 20, 2003 at 16:41 UTC
    May be we'll produce deobfuscators for them too while we are at it?
    Oh, B::DeObfuscate will work on them too, as they merely obfuscate the source which is easily rebuilt into a coherent form with some appliance of the backend modules (specifically B::Deparse). Until a progam starts to obfuscate the actual program execution (which could conceivably, but not easily, be done with some B op tree magic) B::DeObfuscate should do a fine job deobfuscating. It's sort of like the difference between describing something using lots of buzzwords and jargon and then translating that into something that everyone can understand without needing to restructure what was said e.g

    quasi-technical

    the translation unit was obfuscated by recombobulating the ascii representation of the potential bytecode
    plain english
    the programmers code was muddled up by fiddling with the text that might be run at some point
    Not a beautiful example I know, but hopefully it gets the point across - source code obfuscation is superficial.

    _________
    broquaint

Re: While we are at B::DeObfuscate
by diotalevi (Canon) on Mar 20, 2003 at 16:29 UTC

    HOTIce doesn't appear to obfuscate the source at all. Or at least no more than many posts here are without even trying. Same thing with Obcode. Are you sure you meant to mention those because they don't appear to do much (except perhaps remove whitespace (and then not all white-space) and comments).

    Heck, my own obfuscator works better than those two.

    [Added Oops! I misjudged Obcode. I'm not sure what the deal is but it appears to have two modes. The first is comparable to the Spannix code. The second looks somewhat decent. Its certainly reversable but it isn't immediately accessible to anything like Deparse. I suppose someone here could write a deobfuscator for that (obcode) but it'd be annoying.]

      HOTIce doesn't appear to obfuscate the source at all.

      But it costs $4000! It must be worth something!

      ----
      Reinvent a rounder wheel.

      Note: All code is untested, unless otherwise stated

Log In?
Username:
Password:

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

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

    No recent polls found