A tool for MacOS to automatically bypass captive portals.
- Install Node.js 6+.
- Run
npm install
to install dependencies. - Copy
captive.portal.bypass.plist
to~/Library/LaunchAgents/
and modifyProgramArguments
to make path toindex.js
correct. This is required to run the script on change of WiFi state. - Rename
config-example.yaml
toconfig.yaml
. - Modify
config.yaml
according to the captive portal you want to bypass - provide correct URLs, form element selectors and credentials. - Run
node index.js
to make sure everything works fine. - Run
launchctl load ~/Library/LaunchAgents/captive.portal.bypass.plist
to start monitoring WiFi state.
Tested on MacOS Sierra.