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++] winsock win32.dll hook

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

Joined: 17 Apr 2009
Posts: 28

PostPosted: Wed Jun 03, 2009 12:31 am    Post subject: [C++] winsock win32.dll hook Reply with quote

can anyone help me w/ this problem?

i want to create a DLL that hook into an online game..

so i can send packets to the server..

is their any good article about this?
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Wed Jun 03, 2009 3:36 am    Post subject: Reply with quote

get the socket id by hooking send api and use send function to send the packets through this socket
Back to top
View user's profile Send private message
majidemo
Cheater
Reputation: 0

Joined: 17 Apr 2009
Posts: 28

PostPosted: Thu Jun 04, 2009 5:30 am    Post subject: Reply with quote

Is their any more newbie friendly explanation on that?
haha^_^ im sorry but "newbie HERE"

any sample codes?

i dont really fully understand what you said sir..

but ill try to search about it..

but hope you can give me more info on that..^_^
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jun 04, 2009 8:24 am    Post subject: Reply with quote

I'm pretty sure someone posted on this forum a send hook example. You might want to try searching for it.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
majidemo
Cheater
Reputation: 0

Joined: 17 Apr 2009
Posts: 28

PostPosted: Thu Jun 04, 2009 8:28 am    Post subject: Reply with quote

owh..sorry.. ok i will.. thanks..
^_^,..
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Thu Jun 04, 2009 10:59 am    Post subject: Reply with quote

in case you know how to use inline asm, it's the best way to do it
redirect the calling command in the memory to jump to your code
and get the socket id out of it
Back to top
View user's profile Send private message
Kerelmans
Advanced Cheater
Reputation: 0

Joined: 29 Oct 2007
Posts: 57

PostPosted: Thu Jun 04, 2009 11:30 am    Post subject: Reply with quote

Take a look at this:

C++ Winsock Hook
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