Skip to content

Instantly share code, notes, and snippets.

@re4lfl0w
Forked from Luavis/olleh_hack
Created December 26, 2015 06:37
Show Gist options
  • Save re4lfl0w/88c5e2639cf8306cb835 to your computer and use it in GitHub Desktop.
Save re4lfl0w/88c5e2639cf8306cb835 to your computer and use it in GitHub Desktop.
change mac address for ollehWiFi
#!/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