Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/imwally/coffeeconnect
- Owner: imwally
- License: gpl-2.0
- Created: 2015-07-06T00:56:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T06:54:04.000Z (over 1 year ago)
- Last Synced: 2024-10-11T02:49:10.959Z (3 months ago)
- Topics: captive, captive-portal, coffee, shell, starbucks, starbucks-wifi, wifi
- Language: Shell
- Size: 15.6 KB
- Stars: 41
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.~~