![]() RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) (/showthread.php?tid=82846) RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) by Mnjul on 03-31-2008 at 05:12 PM
quote: I think it involves calling WriteProcessMemory, but Cookie, how do you know which part of the text segment is free to use? RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) by deAd on 03-31-2008 at 11:15 PM
quote:I've done this too to call my own function. Here is how I did it (it can probably be adapted to your use):
) to call a function not otherwise possible to call from JScript and without a dll. You can pass another databloc parameter to CreateThread to give the function extra data. If you were looking to subclass, just inject a message handler written in ASM into memory. Then, instead of calling CreateThread to call it yourself, just pass the pointer to SetWindowLong. You'll also have to change when you call VirtualFree to make sure it gets freed when you're done using it.
RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) by Mnjul on 04-01-2008 at 04:26 AM Well, I got it! Much appreciation, deAd :applause: RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) by Mnjul on 10-11-2008 at 06:43 PM
OK, I have got a problem: Ok, I see, why not dynamically, on-the-fly, modify the injected binaries so that the called address is the VirtualAlloc-ed address?
|