Created
November 7, 2021 11:05
-
-
Save paulcarroty/b12bd59112304e12eb94c9cd9b4243d0 to your computer and use it in GitHub Desktop.
MAC generator regex
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
dd if=/dev/urandom bs=1024 count=1 2>/dev/null | md5sum | sed -e 's/^\(..\)\(..\)\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4:\5:\6/' -e 's/^\(.\)[13579bdf]/\10/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment