A command-line tool for login/logout Kasetsart University Wireless Network (KUWiN)
Update (29 Jan 2018): KUWiN CLI is no longer works because the new login system doesn't support KUWiN Tools app, but the new login page doesn't need CAPTCHA anymore.
It uses the same protocol as the KUWiN Tools (Official App on Android) that's no CAPTCHA required for authentication. You can use this tool when you're in KU Network only. (Wifi, LAN, VPN, or whatever)
- List your login sessions including IP and login date/time.
- Login & logout from KU Network.
- Logout from all sessions.
- Python 3.x
$ python kuwin.py <action> <username> <password>
- list
- login
- logout
- logout-all
$ python kuwin.py login b6010987654 mypassword