Zero click login to Pulchowk Campus WiFi's UTM server whenever you connect to campus network for Windows devices(currently). No more dealing with those laggy UTM login pages!
Warning
This program requires elevated system privileges to work properly. Make sure you trust the author(that would be me) and the source code before running it.
- Open PowerShell and run:
irm https://dist.bishal0602.com.np/pcampus/installer.ps1 | iex
- Enter your campus username and password when prompted.
- Allow administrator access when requested.
- That's it! You're all set.
When you connect to any WiFi network, the login program is triggered by Windows Task Scheduler Network Profile Events and it checks if you are connected to campus WiFis. And if you are, you are automagically logged in to the campus UTM login server with your credentials.
Currently, this tool only supports Windows as I haven't worked with Linux/MacOS systems much. So, If you'd like to contribute and help port this to Linux/MacOS, your help would be greatly appreciated! The core login logic is written in Go, so it should be relatively straightforward to adapt for other platforms.
Background network change event listeners seem to be heavily restricted/deprecated on Android. Implementing a continous background service to monitor network changes would be highly energy-inefficient. Or you would need an app/widget that would do the login for you. So, I figured it wasn’t worth the hassle.
Just run the windows/unscheduler.ps1
then remove the downloaded PulchowkWifiAutoLogin
folder.