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 


CreateRemoteThread / VirtualAllocEx - (win95 --> winxp)

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

Joined: 14 Feb 2013
Posts: 4

PostPosted: Sat Mar 09, 2013 8:30 pm    Post subject: CreateRemoteThread / VirtualAllocEx - (win95 --> winxp) Reply with quote

If you've tried to use external dll injection on win95 / 98, you can stop being defeated by frustration.


PrcHelp
http(://)apihooks(.)com.sweb.cz/PH(.)HTM

Works on Win95 up to XP. Open source.


Code:

Ex.

pMem = PH_VirtualAllocEx( hProcess, NULL, memSize, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE );

// WriteProcessMemory: write dll name (path) into alloc space

PH_CreateRemoteThread( hProcess, NULL, 0, (LPTHREAD_START_ROUTINE) pfnLoadLibrary, pMem, 0, &threadId );


You just include his PrcHelp.h and it loads the appropriate lib for you (TurboC, Watcom, MSVC, SC). Easy and it works (successfully injected win98 calc.exe; using it for my Close Combat (1996) trainer).



NOTE:
I think Vista / Win 7 has CreateRemoteThread security and will bounce this trick. You'll probably need to use NtCreateThreadEx
http(://)securityxploded(.)com/ntcreatethreadex(.)php
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 Discussions 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