RE: [GD-Windows] Hijacking application
Brought to you by:
vexxed72
From: Gareth L. <GL...@cl...> - 2003-08-19 09:09:29
|
The first thing you want to do is inject a DLL into the address space of the tool. Another way is to write a dummy dll wrapper for a dll it uses (D3d.dll is often used) and then you can just agregate the original DLL and add your own stuff. A lot depends on what you want to actually do. Probably the best example of a forced in plugin that I know of DECAL. It's basically a framework for plugins into Asheron's Call's client. Take a look at http://sourceforge.net/projects/decalac/ So share with us your goal, and we'll try help you hax0r them :) > -----Original Message----- > From: Brian Hook [mailto:ho...@py...] > Sent: 19 August 2003 02:51 > To: gam...@li... > Subject: [GD-Windows] Hijacking application > > > I have a feeling this can't be done, but I figured I'd ask the list > anyways just in case. > > Say I want to write a plug-in for random application XYZ. XYZ, > however, may not have a plug-in API or it may be broken. Use Notepad > as an example. > > If I wanted to add a plug-in, it seems like it would be pretty much > impossible unless my plug-in didn't require any of the application's > other data. > > I swore there were a few plug-ins I've seen that have forced > their way > into an application, but I can't think of what they might be > now. The > obvious ones are like Visual Assist, Max plug-ins, Maya plug-ins, > Photoshop plug-ins, VS plug-ins, etc. but those all have registered > APIs. I've seen screenshots of people that have retrofitted a new > menu into Notepad just to prove it can be done, but I'm not sure what > the point of that is. > > The typical way you do this is a pretty convoluted process involving > subclassing and message hooks, but even then you can only trap new > menu items and maybe a couple of key messages like WM_DESTROY. You > obviously can't grab application data and do anything meaningful with > it. > > Brian > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > |