theweefies / ouiquery

Query an OUI or a text file of OUIs or MAC addresses for the manufacturer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ouiQuery

With ouiQuery, you can easily query for manufacturer strings without reaching out to the internet or external file.
You can query a single OUI/MAC address or pass a file of OUIs/MAC addresses to the script.


Some of the key features are:

  • return manufacturer string for OUI/MAC query
  • format agnostic
  • ingest a file of OUIs/MAC addresses, returns a file of OUIs/MAC addresses with manufacturer strings for each

Requirements

  • there are no requirements outside of the standard python library.

Install

To install, clone this repo via the following command line code:

$git clone git@github.com:theweefies/ouiquery.git

Github now requires the use of ssh keys. For information on how to set up ssh keys, click here.

How to run:

$./ouiQuery.py ff:fe:fc

OR 

$./ouiQuery.py file_of_OUIs_or_MACs.txt

Note: you may need to run this script with sudo. It was made in windows, so you may need to run it through dos2unix to reformat the file. MAC address/OUI octets can be separated with '-' or ':', and either lowercase or uppercase for the alphanumeric characters.

About

Query an OUI or a text file of OUIs or MAC addresses for the manufacturer


Languages

Language:Python 100.0%