Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imwally/coffeeconnect

Connect to Starbucks WiFi without opening a browser.
https://github.com/imwally/coffeeconnect

captive captive-portal coffee shell starbucks starbucks-wifi wifi

Last synced: about 2 months ago
JSON representation

Connect to Starbucks WiFi without opening a browser.

Awesome Lists containing this project

README

        

# coffeeconnect

A shell script that will connect (authenticate) to Starbucks WiFi
without requiring a browser.

__Update September 2 2018__: Now compatible with latest Google Starbucks WiFi.

## Requirements

* curl

## Why?

__Captive portals are annoying.__

Connecting to the wireless network at Starbucks requires you to open a
web browser and click the big green "Accept & Connect" button. The
problem is that if you're running a web browser with privacy minded
add-ons such as Firefox with [HTTPS
Everywhere](https://www.eff.org/https-everywhere) then chances are
you'll be greeted with an HTTPS error page. Of course you could
disable HTTPS Everywhere, try again, click the green button, and then
re-enable the add-on. But that's too much work. And what if you
forget to re-enable HTTPS Everywhere? Not cool dude.

### Disable Captive Portal

#### macOS

`defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -bool false`

## MAC Address Parameter

__Update September 2 2018__: _The following is no longer the case with
the new Google Starbucks WiFi. Please note that you can no longer
remove or spoof the MAC address URL parameter. A final check in the
authentication process verifies your MAC address with the supplied
parameter. Once again, spoof before you enable your network adapter._

~~You may also notice the script does not POST your MAC address to the
submit page. To my surprise it's not a required parameter. Regardless
if this adds any layer of anonymity it should be noted that any
network you connect to will record your MAC address. It's best to
spoof your address BEFORE you even enable your network interface and
send any packets to the access point.~~