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 


Packet sniffer

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

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Tue Apr 29, 2008 8:08 am    Post subject: Packet sniffer Reply with quote

Hi,
I've been searching for tutorials/examples etc on how to write a packet sniffer, but couldn't find one. I want to write my own packet sniffer (only read packets, not send), and I found the free library winpcap or something, but I want to write it completely myself if possible, so without such libraries. I also read something about raw sockets, and I tried that but failed. Does anybody know a tutorial or an example of this?
Thanks in advance.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Apr 29, 2008 8:56 am    Post subject: Reply with quote

http://msdn2.microsoft.com/en-us/library/ms740121(VS.85).aspx

^ Hook it and dump the buffer
Back to top
View user's profile Send private message MSN Messenger
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Tue Apr 29, 2008 8:59 am    Post subject: Reply with quote

Thanks for the quick reply.
That's not really what i'm looking for, that would capture only the stuff from one specific program, but I want to capture everything that's received on the computer. I could hook the function in every running program offcourse, but that's a little hard I think.
Back to top
View user's profile Send private message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Tue Apr 29, 2008 9:15 am    Post subject: Reply with quote

SetWindowsHookEx
_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Wed Apr 30, 2008 1:20 am    Post subject: Reply with quote

Robotex wrote:
SetWindowsHookEx

Can you explain?
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Wed Apr 30, 2008 9:28 am    Post subject: Reply with quote

x0r wrote:
NDIS filter.

I searched a bit on google, it sounds good, can you explain or give a little example?
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