Kilby
February 20th, 2002, 06:51
Gentlemen, Ladies & those of you who are unsure,
I have been playing about with injecting a dll code into executables.
As usual everything is fune under 98 SE unfortunitely things take a turn for the worse under 2K (& above).
I need to modify the section charactistics from 60000020 to E0000020 to get write access.
I thiought that if I wrote a loader and used writeprocessmemory to modify these before resuming the thread would do the trick.
However this dosn't seem to be the case, I still get an access violation
Am I barking up the wrong tree ?
One possible solution would be to use writeprocessmemory from the dll which I am injecting, but I am unsure how to get the process handle for the processs I have unjected the .dll into.
Any suggestions ?
Kilby...
Why don't we all go back to DOS instead of all this windows crap
I have been playing about with injecting a dll code into executables.
As usual everything is fune under 98 SE unfortunitely things take a turn for the worse under 2K (& above).
I need to modify the section charactistics from 60000020 to E0000020 to get write access.
I thiought that if I wrote a loader and used writeprocessmemory to modify these before resuming the thread would do the trick.
However this dosn't seem to be the case, I still get an access violation
Am I barking up the wrong tree ?
One possible solution would be to use writeprocessmemory from the dll which I am injecting, but I am unsure how to get the process handle for the processs I have unjected the .dll into.
Any suggestions ?
Kilby...
Why don't we all go back to DOS instead of all this windows crap
