Created
January 19, 2015 11:02
-
-
Save Luavis/a4d845754e3ca997b692 to your computer and use it in GitHub Desktop.
change mac address for ollehWiFi
This file contains hidden or 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 | |
if [ $# -eq 1 ] | |
then | |
if [ "$1" = "spoof" ] | |
then | |
sudo ifconfig en0 ether # Your iPhone MAC Adress | |
echo "spoof to iphone MAC address" | |
elif [ "$1" = "origin" ] | |
then | |
sudo ifconfig en0 ether # Your Computer MAC Adress | |
echo "change to origin MAC address" | |
fi | |
else | |
echo "olleh_hack (origin|spoof)" | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment