Last active
November 22, 2023 08:22
-
-
Save antimech/2ed060c0a1ebfe4859be8520cfa4621f to your computer and use it in GitHub Desktop.
Search for MAC device vendor quickly (offline). Requires nmap installed. Use: $ mac 3C0518. Put in /bin/ directory and add +x permission for ease of use.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
NMAP_DICTIONARY_PATH=$(locate mac-prefixes) | |
grep $1 $NMAP_DICTIONARY_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment