maclookup (141B)
1 #!/bin/sh 2 3 MACFILE="/usr/share/nmap/nmap-mac-prefixes" 4 MACADDR="$(printf "%s" "$*" | tr -d ":" | cut -c1-6)" 5 6 grep -i "^$MACADDR" "$MACFILE"
scriptsrandom scripts | |
git clone https://git.parazyd.org/scripts | |
Log | Files | Refs |