Created
June 10, 2020 22:50
-
-
Save framp/4bd3fff897e1591b04e87b331a32aad6 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
sudo ip link set down dev wlp3s0 && sudo ip link set dev wlp3s0 address $(tr -dc A-F0-9 < /dev/urandom | head -c 10 | sed -r 's/(..)/\1:/g;s/:$//;s/^/02:/') && sudo ip link set up dev wlp3s0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment