I’ve modified captive portal auto-logon script by Munhoz.
It uses python’s ConfigParser to read from a config file (ie. cp-autologin.conf)
With this we can distribute a binary for cp-autologin.py (ie. cp-autologin.exe+dlls, using py2exe),
while the user handles their user info in a separate files themselves.
Hope that helps.