GET-OUI(1)
β¨ get-oui β the manual, but make it cute β¨
Okay bestie, so this is the man page for get-oui from section 1 of the General Commands Manual. It's literally the script that fetches the arp-scan OUI file from the IEEE website. Let me break it down for you π
.
πΈ NAME πΈ
get-oui β iconic little script that goes to the IEEE website and fetches the arp-scan OUI file for you. No cap.
π SYNOPSIS π
get-oui [options]
π DESCRIPTION π
Okay so here's the tea: get-oui fetches the MAC/Vendor registry data from the IEEE website and converts it to the format that arp-scan uses. The contents of these four registries get downloaded and processed:
MA-L 24-bit The original OUI registry
MA-M 28-bit Medium address block registry
MA-S 36-bit Small address block registry (OUI-36)
IAB 36-bit The IAB registry (closed for new applications)
This script creates ieee-oui.txt from the latest data on the IEEE website. You can run get-oui occasionally to keep the OUI file up to date. Obsessed with keeping things fresh, honestly.
The OUI data is fetched from the URLs specified in the get-oui script, and the output file is saved to ieee-oui.txt in the current directory. The output file name can be changed with the -f option. Slay.
The ieee-oui.txt file that this script produces is used by arp-scan to determine the Ethernet card vendor from its hardware address. It's giving main character energy for network troubleshooting.
arp-scan will first look for ieee-oui.txt in the current directory. If that fails, it will use the system wide file /usr/share/arp-scan/ieee-oui.txt. So you always have a backup, bestie.
β¨ OPTIONS β¨
-hβ Display a brief usage message and exit. Like a little "hey here's how to use me" moment.-f <fn>β Write the output to the specified file instead of the defaultieee-oui.txt. You can name it whatever you want, go off.-vβ Display verbose progress messages. So you can see exactly what's happening, step by step. Very demure, very mindful.
π FILES π
ieee-oui.txtβ The default output file. That's where the magic happens.
π EXAMPLES π
Here's a little example of running it with -v so you can see the verbose output in all its glory:
$ ./get-oui -v
Renaming ieee-oui.txt to ieee-oui.txt.bak
Opening ieee-oui.txt for output
Processing IEEE IAB registry data from https://standards-oui.ieee.org/iab/iab.csv
Downloaded 381454 bytes
4575 IAB entries written to ieee-oui.txt
Processing IEEE MAM registry data from https://standards-oui.ieee.org/oui28/mam.csv
Downloaded 492756 bytes
4477 MAM entries written to ieee-oui.txt
Processing IEEE OUI registry data from https://standards-oui.ieee.org/oui/oui.csv
Downloaded 3051812 bytes
32845 OUI entries written to ieee-oui.txt
Processing IEEE OUI36 registry data from https://standards-oui.ieee.org/oui36/oui36.csv
Downloaded 466151 bytes
5131 OUI36 entries written to ieee-oui.txt
Total of 47028 MAC/Vendor mappings written to ieee-oui.txt
I'm not crying, you're crying π. That's a lot of mappings, fr fr.
π NOTES π
get-ouiis implemented in Perl, so you need to have the Perl interpreter installed on your system to use it. No Perl, no vibes.get-ouiuses theLWP::UserAgentandText::CSVPerl modules to fetch and process the IEEE registry data. You must have these modules installed on your system for it to work. These modules are available on most distributions, often calledlibwww-perlandlibtext-csv-perl. They are also available in source form from CPAN. So go get 'em if you don't have them.- You can use a proxy server by defining the
http_proxyenvironment variable. Proxy bestie, we love to see it.
π«Ά SEE ALSO π«Ά
From your October 28, 2022 bestie, GET-OUI(1) π. Stay slaying those network scans β¨.
π¦ where this page comes from
- alpine 3.24: arp-scan-doc 1.10.0-r2 Β· GPL-3.0-or-later
- arch rolling: arp-scan 1.10.0-5 Β· GPL-3.0-or-later
- epel 10: arp-scan 1.10.0-11.el10_3 Β· GPL-2.0-or-later
- epel 9: arp-scan 1.10.0-1.el9 Β· GPLv2+
- fedora 43: arp-scan 1.10.0-8.fc43 Β· GPL-2.0-or-later
- fedora 44: arp-scan 1.10.0-10.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: arp-scan 1.10.0-bp160.2.1 Β· GPL-3.0-only AND LGPL-2.1-only AND ISC
- opensuse-leap 16.0: arp-scan 1.10.0-bp160.2.1 Β· GPL-3.0-only AND LGPL-2.1-only AND ISC
- opensuse-leap 16.0: arp-scan 1.10.0-bp160.2.1 Β· GPL-3.0-only AND LGPL-2.1-only AND ISC
- opensuse-leap 16.0: arp-scan 1.10.0-bp160.2.1 Β· GPL-3.0-only AND LGPL-2.1-only AND ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms