Using PEFile to replace Images in PE EXE

Tim Roberts timr at probo.com
Sat May 31 16:21:57 EDT 2008


GeoffreyF67 <GMan67 at pduck.com> wrote:
>
>I am trying to script some image changes for multiple EXE files in
>linux.
>
>The problem I'm running across is that I haven't been able to find
>anything out there that can do this...until now.
>
>It *looks* like pefile (available at google code) would do the trick.

It would if Linux executables were PE files.  They aren't.  The usual Linux
executable format is called ELF.

What do you think you are going to do to these executable files?  I can
think of darned few legitimate reasons to modify an executable.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list