Skip to content

Script that converts oui data in json format to text that can be used by arp-scan

Notifications You must be signed in to change notification settings

ncul777/convert-oui-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Introduction


The purpose of this script was driven by the need to update the arp-scan OUI database on OpenWRT (get-oui was not available)
The script converts OUI data in json format to text that can be used by arp-scan.
Lua is available on OpenWRT 22.03 by default

Setup

Install dependencies

opkg update
opkg install dkjson

Download this script

wget -4 https://raw.githubusercontent.com/culliard/convert-oui-lua/master/convert-oui.lua

OUI Json data

wget -4 https://raw.githubusercontent.com/silverwind/oui-data/master/index.json

Convert Data

Change permissions

chmod 755 convert-oui.lua

Run

The script will take a few minutes to complete depending on the hardware resources available
./convert-oui.lua

Move file

If arp-scan-database is installed then update the file
mv ieee-oui.txt /usr/share/arp-scan/ieee-oui.txt

About

Script that converts oui data in json format to text that can be used by arp-scan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages