View previous topic :: View next topic |
Author |
Message |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Tue Apr 29, 2008 8:08 am Post subject: Packet sniffer |
|
|
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 |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
|
Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Tue Apr 29, 2008 8:59 am Post subject: |
|
|
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 |
|
 |
Robotex Master Cheater
Reputation: 0
Joined: 05 Sep 2006 Posts: 378 Location: The pizza country!
|
Posted: Tue Apr 29, 2008 9:15 am Post subject: |
|
|
SetWindowsHookEx
_________________
ASM/C++ Coder
Project Speranza lead developer |
|
Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Wed Apr 30, 2008 1:20 am Post subject: |
|
|
Robotex wrote: | SetWindowsHookEx |
Can you explain?
|
|
Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Wed Apr 30, 2008 9:28 am Post subject: |
|
|
I searched a bit on google, it sounds good, can you explain or give a little example?
|
|
Back to top |
|
 |
|