Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl Monk, Perl Meditation
 
PerlMonks  

Re: decompile perl2exe

by tachyon (Chancellor)
on Feb 07, 2005 at 00:29 UTC ( [id://428572]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to decompile perl2exe

Try this (assuming *nix as OS):

$ mv /usr/bin/perl /usr/bin/perl.real $ cat > /usr/bin/perl #!/bin/sh PROG=$1 /usr/bin/perl.real -MO=Deparse $PROG ^D $ chmod 755 /usr/bin/perl

$ is prompt. Ctrl+D to finish entering your perl substitute shell script.

Try running your exe and it should/may (untested) spew source.

$ some.exe > source.txt 2>&1
Reverse changes with:
$ rm -f /usr/bin/perl $ mv /usr/bin/perl.real /usr/bin/perl

All care, no responsibility.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: decompile perl2exe
by Anonymous Monk on Feb 07, 2005 at 04:33 UTC
    Thank you.

    Any chance you can give the translation to windows in this.

    Got no xp with unix/linux.......

    Jahwik

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://428572]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.