Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How can I enumarete all modules of a suspended process?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
marcussacana
How do I cheat?
Reputation: 0

Joined: 25 Jun 2017
Posts: 5

PostPosted: Tue Nov 20, 2018 11:15 am    Post subject: How can I enumarete all modules of a suspended process? Reply with quote

I have created a process with the CREATE_SUSPENDED,
And I want inject a DLL as soon possible, to this I want suspend
the process in the EntryPoint, And to this I want edit the Main module
data to put a int3 or a infinite loop.
To do this I need know before where is the Main Module Entry Point,
How I can do this? Since the EnumProcessModulesEx don't works on a suspended process
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 368

Joined: 09 May 2003
Posts: 21780
Location: The netherlands

PostPosted: Tue Nov 20, 2018 12:13 pm    Post subject: Reply with quote

you need to let the process run until the main module has been loaded in the target (check out windows debugging and module load notification for the debugger)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
marcussacana
How do I cheat?
Reputation: 0

Joined: 25 Jun 2017
Posts: 5

PostPosted: Tue Nov 20, 2018 12:36 pm    Post subject: Reply with quote

So basically, I need create a 'small debugger' and wait by the LOAD_DLL_DEBUG_EVENT?

just a question, the LOAD_DLL_DEBUG_EVENT is triggered before or after the dll is loaded?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 368

Joined: 09 May 2003
Posts: 21780
Location: The netherlands

PostPosted: Tue Nov 20, 2018 1:23 pm    Post subject: Reply with quote

after the dll is loaded but before the entrypoint runs (i think)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
marcussacana
How do I cheat?
Reputation: 0

Joined: 25 Jun 2017
Posts: 5

PostPosted: Tue Nov 20, 2018 4:37 pm    Post subject: Reply with quote

Worked Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites