How to Kill Time and Waste it on Free Wifi

While waiting for the gf to finish her aesthetic appointment to complete, TWCWifi allows 30mins free internet access via email and zip code input (non-validated FTW). I thought it was as simple as a cookie removal after the 30mins were over, but I was wrong. How simple would that be?! Anyways, next up is IP address spoofing via media access control (MAC) address of the interface, i.e. my laptop. If you’re on a macbook, try this out:

To spoof MAC address and bypass 30-minute wifi limit or whatever:

1) Grab current MAC address (ifconfig shows your IP & MAC address, so this command seeks the en0 interface, pipes the result into a global regular expression (grep) searching for the word ‘ether’):

>>> ifconfig en0 | grep ether

2) Change it:

>>> sudo ifconfig en0 ether <new MAC address>

3) Confirm it has changed:

>>> ifconfig en0 | grep ether

4) If that does not work, try finding and replacing ‘en1’ instead.

For random MAC address:

>>> openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s