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 


Inject code to PE

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Wed Jan 13, 2016 10:35 am    Post subject: Inject code to PE Reply with quote

Hi,

When injecting code into a PE articles usually advise to either use what space of the dos stub is available or rather to add a new section and make the corresponding changes in the PE header.

Can someone tell me why this cannot be done using the space between the end of the section table and the first section ? I've tried it this way yersterday and got access error, turns out PE header was on readonly, when I changed the access of the PE header to full the code I inejcted started to execute properly.

I'd like to know how to give the PE header full access (tried the characteristics flag, didn't work) and I'd like to know why isn't this a valid technique for injecting code as creating a new section and doing correspoding changes is tiresome.

Thanks
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