Skip to content

Download IEEE MAC address database and compare with NMAP's MAC address database

Notifications You must be signed in to change notification settings

dtonhofer/ieee_oui_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ieee_oui_downloader

What is this

Download the Ethernet MAC address database (which is a file) from the IEEE server that publishes it, compare it with an existing nmap MAC address database (which is a file) and generate a new nmap MAC address database containing any entries missing in the existing one.

This is a modified version of a script by Alain Kelder's, which can be found here.

Status

  • Old but serviceable!
  • 2018-10-27: The script passes ShellCheck

License

The original script is licensed under Creative Commons Attribution 3.0 United States License, and thus so is the present modified script.

Usage

  1. Start script with no arguments
  2. Script will create a working directory underneath /tmp, cd to it, download the IEEE file using curl, copy the local nmap file to the working directory, compare the IEEE file to the original nmap file, generate a new complete file for nmap with any missing entries found in the IEEE file added, then exit.
  3. You have to copy the generated completed file to the correct nmap location manually.
  4. If anything goes wrong after the download, you can restart the script while passing it the path to the working directory created in the previous run. It will then use the already downloaded IEEE file and not attempt to download it again.
  5. Cleanup of the working directory is left to you and your command line skills.

About

Download IEEE MAC address database and compare with NMAP's MAC address database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages