April 3rd, 2013, 09:36 AM
Could someone convert this exe back to perl.
Are there programs available to convert exe files back to perl codes or any other readable and editable programs? Except for hexadecimal editors of course. Thanks..
Last edited by Scorpions4ever; April 3rd, 2013 at 01:28 PM.
April 3rd, 2013, 01:32 PM
Moved this post into its own thread.
As for your question, it depends on which program you use to convert the perl to exe. PAR, PerlApp and perl2exe keep a copy of the source code in the exe and it is possible to extract the sources from the exe file.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
April 3rd, 2013, 06:32 PM
I should add that, if a copy of the source were not kept, it would be almost impossible, or, the resulting code would be basically unreadable.
Even decompiling a program written in a much lower level language like C is almost impossible. (That is, it is technically possible to approximate this goal, but the result is impossible to read.)
I do not know if this is still the case, but for a long period, some of the commercial variants of the Unix operating system were distributed as a C code that people had to compile on their system. But the C code was scrambled and obfuscated before it was shipped to customers (replacing meaningful variable names by numbered variables, removing spaces and indentations, and so on and so forth), and it was deemed to be practically impossible to reverse engineer that scrambled C code to something meaningful. If this is difficult, translating assembly code back to C is even more complicated, and translating assembly code to Perl even more so.