NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-28-2005   #1 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
Parsing Kismet logs... network log to HTML

Anyone know of a tool/script or whatnot out there that has the capability of loading kismet logs and outputting them to HTML?

Techincally I wouldn't mind writing a PHP script to parse the XML file... is this another way to go about it? Because being new to Perl... I'm having a little trouble with the matching and substituting... and since I know PHP... I wouldn't mind doing the extra work, but I'd rather save time and just find a prewritten script to use.

Let me know or point me in the right direction, thanks.

Last edited by syst0lic : 03-06-2005 at 12:34 PM.
syst0lic is offline   Reply With Quote
Old 03-01-2005   #2 (permalink)
G8tK33per
Asshole Emeritus
 
G8tK33per's Avatar
 
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
http://www.kismetwireless.net/forum.php
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick."

Sons of Confederate Veterans
G8tK33per is offline   Reply With Quote
Old 03-01-2005   #3 (permalink)
sylvain
Wireless Auditor
 
Join Date: Jun 2004
Location: Paris, France
Posts: 175
Quote:
Originally Posted by syst0lic
Anyone know of a tool/script or whatnot out there that has the capability of loading kismet logs and outputting them to HTML?

Techincally I wouldn't mind writing a PHP script to parse the XML file... is this another way to go about it? Because being new to Perl... I'm having a little trouble with the matching and substituting... and since I know PHP... I wouldn't mind doing the extra work, but I'd rather save time and just find a prewritten script to use.

Let me know or point me in the right direction, thanks.

look for kismet log viewer, it's a perl script
sylvain is offline   Reply With Quote
Old 03-01-2005   #4 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
i got bored and coded one myself it parses the .network log file into HTML and also adds some stats at the bottom of the page with a quick link up top.

http://cctech.dontexist.net/perl/kismet2html.pl

Example output: http://cctech.dontexist.net/perl/kismet2.html

I should add... the HTML file will be about double the size of the .network log file after its done.... looks like 1mb per 1000 networks.

Last edited by syst0lic : 03-01-2005 at 11:56 PM.
syst0lic is offline   Reply With Quote
Old 03-03-2005   #5 (permalink)
zadoki
Registered Member
 
Join Date: Mar 2005
Posts: 2
KLV - kismet log viewer

I think this is what you are looking for fellow :

http://www.mindflip.org/klv/

<snip>
Intro:

The Kismet Log Viewer (KLV) takes Kismet .xml log files and produces a nicely formatted html interface to browse the logs with.

KLV has the ability to utilize available GPS information to create links for external maps via the net, and provides the ability for those with Snort (http://www.snort.org) to generate a page of Snort output for each specific bssid that has data available.
</snip>
zadoki is offline   Reply With Quote
Old 03-04-2005   #6 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
I added the following features. Just click the link above and redownload it.

- Detects Duplicate networks, displays unique, duplicate and total networks.
- Detects Unique and Duplicate SSIDs
- Added a packet count break down
- Console dump is more fun to look at

Future:
- most common (top10) ssid feature
- seperate stats and network parsing HTML pages
- Time and GPS statistics
syst0lic is offline   Reply With Quote
Old 03-04-2005   #7 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
I must have been really bored today... I added a TON of things

Top Manufactuers (requires manuf.txt from Ethereal)
- http://cctech.dontexist.net/perl/manuf.txt

Top 10 SSIDs

Seperate page for all the networks... made the stats page the main page.

Test page: http://cctech.dontexist.net/perl/test.htm
-try not to click the Display ALL network data.... its a really big file cuz it parsed out 2402 networks. unless you REALLY want to see it then go ahead.

Download: http://cctech.dontexist.net/perl/kismet2html.pl

Last edited by syst0lic : 03-04-2005 at 10:57 PM.
syst0lic is offline   Reply With Quote
Old 03-05-2005   #8 (permalink)
sylvain
Wireless Auditor
 
Join Date: Jun 2004
Location: Paris, France
Posts: 175
Quote:
Originally Posted by syst0lic
I must have been really bored today... I added a TON of things

Top Manufactuers (requires manuf.txt from Ethereal)
- http://cctech.dontexist.net/perl/manuf.txt

Top 10 SSIDs

Seperate page for all the networks... made the stats page the main page.

Test page: http://cctech.dontexist.net/perl/test.htm
-try not to click the Display ALL network data.... its a really big file cuz it parsed out 2402 networks. unless you REALLY want to see it then go ahead.

Download: http://cctech.dontexist.net/perl/kismet2html.pl
great job, if possible try to improve the HTML style output...if you need help on this point do not hesitate to ask me
sylvain is offline   Reply With Quote
Old 03-05-2005   #9 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
Yea, definitely looking into the html styling... I finished the coding for the most part, so if you have an suggestions like a template or something... I'd love to hear/see it.

Just a matter of organizing what I have and turning it into something fun to look at.
syst0lic is offline   Reply With Quote
Old 03-06-2005   #10 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
Major update...

Completely redesigned console output
Completely redesigned Stats HTML page
added the # of 802.11 types found
decreased the amount of spam in the console

http://cctech.dontexist.net/perl/test.htm

http://cctech.dontexist.net/perl/kismet2html.pl
syst0lic is offline   Reply With Quote
Old 03-09-2005   #11 (permalink)
maco
Registered Member
 
Join Date: Mar 2005
Posts: 1
Wink


Hello,
I have written similar script in PHP approx. a year ago - it's name is absolutely the same - kismet2html

syst0lic next time please check google before you choose name for your script

my script uses CSV files and parses them in a neat HTML table.

All info is located on http://www.maco.sk/kismet2html

Example pages may be found on the page above.

have a nice day

my kismet2html is released under GPL v2

maco@maco.sk
maco is offline   Reply With Quote
Old 03-12-2005   #12 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
its a very generic name... sorry tho, ill change it...
syst0lic is offline   Reply With Quote
Old 03-26-2005   #13 (permalink)
syst0lic
Registered Member
 
Join Date: Jan 2005
Posts: 18
Updates!!!

Files you need:
http://www.wifiscan.net/pobudz/kisnetconv.pl
http://www.wifiscan.net/pobudz/manuf.txt

Visual upgrades and a few extra changes that make this a work of art.
Still only parses .network logs, but thats the way its staying.

Example runs:
http://www.wifiscan.net/pobudz/demo.htm
(the next link can be accessed via the first, but its the more changed of the two)
http://www.wifiscan.net/pobudz/__demo.htm
syst0lic is offline   Reply With Quote
Old 03-30-2005   #14 (permalink)
queeg500
Registered Member
 
Join Date: Mar 2005
Posts: 1
Quote:
Originally Posted by syst0lic
Your server doesn't allow downloading of the kisnetconv.pl file.
queeg500 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 10:42 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.