What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Xniff (ActiveX Packet Sniffer) - Examples inside

[Release] Xniff (ActiveX Packet Sniffer) - Examples inside
Author: Message:
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. [Release] Xniff (ActiveX Packet Sniffer) - Examples inside
Starting with the whole discussion about window open/close notifiers, with questions to get the contact's font, and some other things people would like to access but can't with the current script engine, I decided to try and create an ActiveX based Packet sniffer.

Warning: if your script uses this, it may become unstable/useless if MSN changes protocol ! So be very carefull!

This allows you to start monitoring packets with a couple of lines of code, and provides easy methods to get what you want, quickly!

It gives you access to only 1 property and 2 methods:
» property IP : string containing the IP you want to listen
» function Start() : start monitoring the choosen IP
» function Stop() : stop monitoring the choosen IP
» function About() : displays a small about box

Examples: (with full commented code)
  • Window open/close notifier ( very reliable, only close notifier has a delay of 15/30seconds from the actual close of the window, due to a WLM limitation )
  • View All MSN packets (usefull to study what packets get sent/received when you do something specific and build your own script)

My first idea was to make the ActiveX MSN-only (only capture MSN packets), but then I thought that only one extra line of code (check if comming from MSN port) wouldn't matter if you could monitor the entire network.

So, here it is, hope you guys enjoy it.

I didn't test it very much, but there aren't that much things that can go wrong with 1 property and 2 basic methods, so I leave it for you guys to use !

Note: it's OCX because Delphi doesn't allow to create non-visual ActiveX Object (actually it allows, but it would take forever), so I created it visually and then added the flag to make the ActiveX invisible at runtime. So, don't worry about the extension being OCX and not DLL, just register it normally using regsvr32.

Note2: my imagination wasn't running that wild when I gave the ActiveX a name, so w00t.Xniff sounded like a good choice :P

Note3: I hope it works in every PCs, because hopefully it doesn't need Borland Runtime Packages to run (that's why the filesize is rather big). But I dunno, it's the first ActiveX I create so I can't know for sure...

.zip File Attachment: Xniff.zip (268.45 KB)
This file has been downloaded 1543 time(s).

This post was edited on 07-31-2006 at 12:13 AM by Pai.
07-30-2006 01:23 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Pai on 07-30-2006 at 01:23 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by AberNStein on 07-30-2006 at 03:12 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by deAd on 07-30-2006 at 03:28 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by absorbation on 07-30-2006 at 03:31 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by Plik on 07-30-2006 at 03:33 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by Pai on 07-30-2006 at 03:54 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by deAd on 07-30-2006 at 04:06 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by AberNStein on 07-30-2006 at 04:07 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by Pai on 07-30-2006 at 04:31 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by Plik on 07-30-2006 at 05:29 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - by Eljay on 07-30-2006 at 05:32 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Pai on 07-31-2006 at 12:14 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by nx01rules on 07-31-2006 at 03:57 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 07-31-2006 at 07:48 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Pai on 07-31-2006 at 10:19 AM
RE: RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 08-10-2006 at 12:59 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Jimbo on 07-31-2006 at 12:35 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by nx01rules on 07-31-2006 at 12:59 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Pai on 07-31-2006 at 04:40 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by phalanxii on 08-19-2006 at 12:47 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 08-19-2006 at 01:00 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by ShawnZ on 08-19-2006 at 01:14 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 05:56 PM
RE: RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by alexp2_ad on 09-04-2006 at 06:01 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by the_dare on 09-04-2006 at 06:15 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 06:22 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Thor on 09-04-2006 at 06:27 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Spunky on 09-04-2006 at 06:47 PM
RE: RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by alexp2_ad on 09-04-2006 at 06:50 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 06:52 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Spunky on 09-04-2006 at 06:54 PM
RE: RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by alexp2_ad on 09-04-2006 at 06:57 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 06:59 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 09-04-2006 at 07:01 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 07:05 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Spunky on 09-04-2006 at 07:08 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 07:12 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Spunky on 09-04-2006 at 07:12 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Zeh on 09-04-2006 at 07:17 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Deco on 09-05-2006 at 01:30 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Dempsey on 11-28-2006 at 01:12 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 11-28-2006 at 01:18 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by czakowski on 01-14-2007 at 11:56 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 01-15-2007 at 01:22 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by czakowski on 01-15-2007 at 04:01 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by matty on 01-15-2007 at 04:14 AM
RE: RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 01-15-2007 at 07:30 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by czakowski on 01-16-2007 at 01:14 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by bigbob85 on 07-29-2007 at 04:29 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Deco on 07-29-2007 at 12:57 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by bigbob85 on 07-29-2007 at 03:58 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by Deco on 07-29-2007 at 08:08 PM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by bigbob85 on 07-31-2007 at 05:21 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by CookieRevised on 07-31-2007 at 06:17 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by bigbob85 on 07-31-2007 at 07:30 AM
RE: [Release] Xniff (ActiveX Packet Sniffer) - Examples inside - by expertt on 09-16-2008 at 05:53 PM
Xniff and Vista - by Deco on 04-02-2007 at 03:22 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On