NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 01-12-2005   #16 (permalink)
nashr
Uber Geek
 
nashr's Avatar
 
Join Date: Aug 2002
Location: Virginia
Posts: 1,615
Very Simple Script

This one is too easy... and therefore has limitations.

The author of this Perl Module Net::MacMap made this impossibly simple. I've attached the sample he provides with his module (see below). Just to clarify, this sample is hard-coded with a sample MAC address. Simply modify this to accept input from STDIN, or via other methods... sniff, NS, etc.

This script is quick and easy, but cannot be easily updated as the author included the OUI data in the module. Anyway, here's the simple script.
Attached Files
File Type: txt netmacmap.pl.txt (297 Bytes, 19 views)
__________________
Help! I've been Simpsonized!

Last edited by nashr : 01-12-2005 at 11:40 AM.
nashr is offline   Reply With Quote
Old 01-12-2005   #17 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by nashr
Playing with a perl script to take mac addresses, pull vendor data, and dump to mysql.

Just the usual geek stuff
'n'shit

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 01-12-2005   #18 (permalink)
Monitr7
Not feeling funny...
 
Monitr7's Avatar
 
Join Date: Jan 2003
Location: Rebrandsoftware's mom's house...
Posts: 1,699
Quote:
Originally Posted by Dutch
'n'shit

Dutch
...n' things like that there.
__________________
WTOTD Industries - Where quality is Job #3.

G8tK33per doesn't care about the tarded people!
-Kanye West
Monitr7 is offline   Reply With Quote
Old 01-20-2005   #19 (permalink)
nashr
Uber Geek
 
nashr's Avatar
 
Join Date: Aug 2002
Location: Virginia
Posts: 1,615
oui2mysql.pl

Here you go. This script is my attempt to grab the oui.txt using LWP, parse it with the code from the mungeOUI script provided by dwakeman, and suck it into MySQL.

I've been around this damn thing 3 times now and FINALLY I've got the bug fixed. This should work now
Attached Files
File Type: zip oui2mysql-final.zip (1.1 KB, 20 views)
__________________
Help! I've been Simpsonized!

Last edited by nashr : 01-20-2005 at 11:40 AM.
nashr 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 02:36 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.