Kismet Wireless

Kismet Forums

 

Posted by:LoloBee
Subject:first-time == last-time on netxml file
Date:10:13:44 25/06/2013

Hello, I've a problem with netxml file, the wireless-client has the same first-time and last-time.

I've been searching in the forum and found another thread referring to the same problem, but the solution pointed to use SVN, I've done this but I still got the same problem, so I dig in the code.

In file dumpfile_netxml.cc @ line 508 I think there's an error, the code is:

fprintf(xmlfile, " <wireless-client number=\"%d\" type=\"%s\" "
"first-time=\"%.24s\" ",
clinum, ctype.c_str(),
ctime(&(cli->last_time)));

and it should be

fprintf(xmlfile, " <wireless-client number=\"%d\" type=\"%s\" "
"first-time=\"%.24s\" ",
clinum, ctype.c_str(),
ctime(&(cli->first_time)));

I've fixed this for me and it worked, hope this help (if I'm not wrong ;-) )

Best regards and thanks for your work.


Reply to this message