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 


[C++] [Source] CreateRemoteThread Replacement

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
pyrostrex
Advanced Cheater
Reputation: 0

Joined: 28 Mar 2007
Posts: 58

PostPosted: Wed Dec 09, 2009 12:31 am    Post subject: [C++] [Source] CreateRemoteThread Replacement Reply with quote

Well i am not really sure if many people needed this but since i am releasing it as an open source i should also post my creation here.

This is a replacement for windows CreateRemoteThread function, it supports multiple parameters. I called it StartLibraryFunction well basically i called it like that since i love a straight forward name. Anyway, with this method, you can start your injected library function for example, injecting a user32.dll into a windows calculator and call the function "MessageBoxA" with all 4 parameters inserted.

This is not a dynamic library or static library but instead it is an exe. If anyone request, i can release it as a static library for the next release since this release still have some compiler unhandled exception for example, it will break if the calculator is not opened before the program.

I don't really need to elaborate the whole thing since not many people like to read a long passage right?

So, if you interested you can directly download the source code from this link :
http://www.mediafire.com/file/d2mdy3jgyyh/StartLibraryFunction-REV002.zip

Code Format : Microsoft Visual Studio 2008

To read more, report bugs, or check new version. Please visit my blog. The link can be found below. Thank you for reading.

This is my first post in my blog so next time i will be posting on how to use dll to hook winsock send, recv, WSASend and WSARecv without using MS Detour.

Any comments are welcome. I hoped this thread will help many people in the hacking community.

http://pyrostrex.blogspot.com
Back to top
View user's profile Send private message
pyrostrex
Advanced Cheater
Reputation: 0

Joined: 28 Mar 2007
Posts: 58

PostPosted: Wed Dec 09, 2009 3:35 am    Post subject: Reply with quote

Well can you tell more detail about what i should improve in my code? thanks.
Back to top
View user's profile Send private message
pyrostrex
Advanced Cheater
Reputation: 0

Joined: 28 Mar 2007
Posts: 58

PostPosted: Wed Dec 09, 2009 10:56 am    Post subject: Reply with quote

Alright thanks. I will be learning much more with this!. Hmm, i don't really know what metaprogramming is. I guess i should search more about this. Do you mean i should not use va_arg etc?
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Wed Dec 09, 2009 11:08 am    Post subject: Reply with quote

Might also want to look into RtlRemoteCall
Back to top
View user's profile Send private message
pyrostrex
Advanced Cheater
Reputation: 0

Joined: 28 Mar 2007
Posts: 58

PostPosted: Wed Dec 09, 2009 12:17 pm    Post subject: Reply with quote

Hmm.. I've read about it but, i'm just wondering in what situation do i need RtlRemoteCall? Sorry to be such a noob, i just learned C++ XD
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