The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: japheth on October 11, 2006, 05:21:28 PM

Title: Want to patch a self-written binary from outside while it is running
Post by: japheth on October 11, 2006, 05:21:28 PM

How could this be done?

Could WriteProcessMemory be used for that task?

Title: Re: Want to patch a self-written binary from outside while it is running
Post by: trodon on October 11, 2006, 06:51:06 PM
do you meen to create loader for some executable file?
if you want this then yes, its possible :)
first you need to create process in suspended mode for example, then to WriteProcessMemory and after this just resume thread and thats all ;)
regards
Title: Re: Want to patch a self-written binary from outside while it is running
Post by: P1 on October 13, 2006, 02:17:32 PM
japheth,

FYI, this has nothing personal in it.  I respect you as a well intentioned programmer.

This was discussed by the moderator team and was recommended to be closed.

Please PM me, I have some ideas for you.

As for everyone else, this topic will not be discussed openly, due to the fringe people who misuse this wonderful art of ours.

Regards,  P1  :8)