|
|||||||||||
|
Re: Getting Base Address using the Structured Exception Handler
From: Gerardo Richarte <gera(at)corest.com>
Date: Thu Jun 26 2003 - 11:24:45 EDT Gerardo Richarte wrote: Yeah, I know this is about to become insane (answering myself so many times I mean), but well... I think it'll be easier to learn to use
LdrGetDllHandle()
(use The Oracle [google] to find out info about them) They look pretty promising. And then, once again as hernan told me, it may be enough to mask out the least significant bits of the return address (address after the call in ntdll.dll:KiUserExceptionDispatcher()) to get ntdll.dll's base address. Then with that, we could walk the PE header and get the address of LdrGetProcedureAddress (if that's enough), or use a table stored in our code, as used in the first example (in a previous email)... gera Received on Thu Jun 26 12:58:42 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:40 EDT |
||||||||||
|
|||||||||||