Re: Patching distributed EXE's

new topic     » goto parent     » topic index » view thread      » older message » newer message

> --
>    If you UPX compress the files you will have problem patching.
>    What if the code you are patching needs to contain larger block of code
>    then the original then how do you patch it?
>    I think that the interpter is added to the end of the exe. So a patch
>    of added code would change its offset.

The interpreter is added before the begining of the code in a bound
exe.
Try this:

atom fn
fn = open("patch.exe","ab")
puts(fn,#0A & #AC & "(1,\"tacked on the end!\\n\")")
close(fn)

It probably would be possible to replace the code between 2 string
markers with more shrouded code, maybe this would allow you to patch
the program...

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu