Hi.
I'm sorry, but I'm lost!
This is my code:
code:
var xniff = new ActiveXObject("w00t.Xniff");
function xniff:nData(srcip, srcport, destip, destport, data, datalen)
{
if (srcport === "1863" && datalen > 0)
{
var data = data.split(" ");
if (data[0] == "MSG" && data[8] == "Content-Type:" && data[9] == "text/plain;" && data[10] == "charset=UTF-8")
{
var style = data[14];
var font_name = data[13];
var color = data[15];
Debug.Trace("Font Style: " + style);
Debug.Trace("Font Name: " + font_name);
Debug.Trace("Font Color: " + color);
}
}
}
function OnEvent_Initialize(MessengerStart)
{
xniff.Start();
}
function OnEvent_Uninitialize(MessengerExit)
{
xniff.Stop();
}
Is it something like that?
When I start the script the debugger says:
"xniff isn't defined
Line: 3. Code: -2146823279."