Created
October 24, 2017 01:18
-
-
Save Makiah/1bd7973fa28755a9196628e11700d371 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
echo "* Running MAC Address Spoofer! *" | |
# Check current MAC address | |
ifconfig en1 | grep ether | |
# Tell airport to disassociate from the current network | |
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z | |
# Spoof the MAC address | |
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' | xargs sudo ifconfig en1 ether | |
# Check current MAC address | |
ifconfig en1 | grep ether | |
# Output following steps. | |
echo "The two addresses listed above should be unique. If not, run this tool again." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment