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

Re: Re: Re: Re: Decompile Perl2EXE back to original source

by diotalevi (Canon)
on Mar 30, 2004 at 02:08 UTC ( #340822=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Decompile Perl2EXE back to original source
in thread Decompile Perl2EXE back to original source

You further misunderstand. That is how perl itself and those modules work. Whether perl2exe includes source or a serialized form of the optree is unknown to me. I'd guess it stores source though since that's at least doable.
  • Comment on Re: Re: Re: Re: Decompile Perl2EXE back to original source

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Decompile Perl2EXE back to original source
by flyingmoose (Priest) on Mar 30, 2004 at 02:14 UTC
    No, I don't really misunderstand -- but perhaps you misunderstood my reply. Yes, it may include source or an optree, but that is not preventing some sort of encoding in the internal representation, as an attempt to prevent reverse engineering at some trivial level. I'm not the greatest of C hackers, though I am one of some regard, and I would have done something to make opcode (or source) extraction non-trivial. Many of these support some form of Crypt voodoo, as say the docs.
      Oh I'm sure of that. The perl2exe reference I saw online mentioned that some versions just XOR the source against some key and had a step-by-step instruction process for extracting the source.
        Per merlyn on that other thread:

        Why? Why? If it's just a bundler, let it be a bundler. It can never be really secure, because I can always single step the program to the point where you call the Perl interpreter's "eval" method with the now-decrypted source code.

        Which is, of course, true. It's all just a matter of effort in the long run...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-10-28 01:10 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (259 votes). Check out past polls.