Here it is,
please note this line:
code:
xniff.IP = getLocalIp(); // assign your last local IP address, automatically detected (if you want to force a specific ip to listen to, just set it as a string 'XXX.XXX.XXX.XXX')
if you have multiple network adapters (or if you have VMware or something like that installed), just replace getLocalIp() with the IP address of the network adapter you use to connect to the internet, eg:
code:
xniff.IP = "10.0.0.1"; // assign your last local IP address, automatically detected (if you want to force a specific ip to listen to, just set it as a string 'XXX.XXX.XXX.XXX')
like it says in the comment
also, Xniff
might have problems with wireless connections. I don't know the ins and outs about that, but if you're having problems on wireless, it might be that.
have fun
edit: oops, forgot to include the script
edit2: oh and it's in dutch... but it's only 1 line to translate: " is een bericht aan het typen." is dutch for " is typing a message."