-
-
Save davidbgk/c0645c8fd470a995cd2f2f2d02640c2c 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 | |
# Instructions: | |
# 1. Copy this script locally and run the following `chmod +x mac-address-spoofer.sh` | |
# 2. Later, run the following: `./mac-address.spoofer.sh` and see your MAC address changing. | |
echo "origin MAC address: " `sudo ifconfig en0 ether | grep ether` | |
sudo ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` | |
echo "new MAC address: " `sudo ifconfig en0 ether | grep ether` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment