Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: decompile perl2exe

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

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.



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

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

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


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://428572]
[Corion]: Oof - "Anyway, if it is not obvious, please keep this discussion entirely confidential for now.", as seen on a public mailing list ;)
[Discipulus]: uh no choroba.. i do not practice much with online putyour image sites:can you suggest one (that possibly remove the pic after few days)?
[choroba]: Corion a bug report?
[choroba]: I have no idea :-( I used to post to, but they don't seem to feature "private" pictures in the free version now

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-03-27 07:48 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.