Skip to content

Instantly share code, notes, and snippets.

@Jack2
Forked from Luavis/olleh_hack
Created August 16, 2017 15:51
Show Gist options
  • Save Jack2/ebc6a05984369d05dc75bb137af333a9 to your computer and use it in GitHub Desktop.
Save Jack2/ebc6a05984369d05dc75bb137af333a9 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