using WIN32api how can i apend an app to another so it runs whenever what you appended it to opens?
Printable View
using WIN32api how can i apend an app to another so it runs whenever what you appended it to opens?
I'm not entirely sure what your asking, but look up CreateProcess.
I think thats what you want.
i don't think so i mean for example if you want a dll appended or written to the end of notepad and so whenever notepad opened that dll would execute
I think you'd actually have to change the exe's actual code to do that.
Or have another program residing in memory watching until the programme is run.
sorry im sort of a beginer(im only 12) how do you make a program "reside in memory"?
thanks for your time and effort anyway.
it sounds like a big thing, if it can't be awnsered in a post thats fine!:) :confused:
Why do you want to know something that can only have harmful results?
I have only seen this done with trojan stile viruses.
Please post a valid reason for your question.
it might be a stupid way, but i like to experiment, appending a keylogger to explorer on MY computer. if you have a better way please tell me. I am not trying to make a virus!
Sorry but I have never worked on anything like that.
At best guess you would have to make the original app a resource of the appended one and run it from there. But I don't know how to go about doing that.
If you want a keyhooker as you have said, then appeding code to an existing exe is not the way to proceed......
Look up SetWindowsHookEx() on MSDN.......
Also..this is not that simple as you need to know how to create dll's and be pretty happy with what processes are and how they can communicate
well i geuss ill have to look up more on thedlls and SetHooKeyEx but even with all that how would i make it always be running?
Numerous ways.......The "Run" key in the registry, the startup folder, services..............Quote:
Originally posted by canine
well i geuss ill have to look up more on thedlls and SetHooKeyEx but even with all that how would i make it always be running?