Skip to content

Instantly share code, notes, and snippets.

@TheAshwanik
Created October 2, 2015 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheAshwanik/0ecb04ee0939d0ba0a42 to your computer and use it in GitHub Desktop.
Save TheAshwanik/0ecb04ee0939d0ba0a42 to your computer and use it in GitHub Desktop.
Spoof on a paid/public Wifi
* Launch Terminal.
* Check your own MAC address:
ifconfig en1 | grep ether
* See who else is on the network:
arp -a
* Select the address of some machine on the network, and Copy that.
* Spoof the MAC address:
sudo ifconfig en1 ether [mac address to spoof]
Where it says "[mac address to spoof]", press Command-V to paste the machine-to-be-spoofed's MAC address.
Your machine may require an administrator password at this point.
This is the password you use to log into your own machine.
* Confirm the spoof:
ifconfig en1 | grep ether
Your displayed MAC address should now be different from what it was before.
Step 3: Enjoy FREE WiFi!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment