Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.51 KB

File metadata and controls

40 lines (23 loc) · 1.51 KB

What is this

A python script automatically auth via portal in WHUT.

To prevent complex and repeatedly enter the username and password to auth Wi-Fi, the script is birth.

It will function when you boot and automatically connect to the correct Wi-Fi, such as WHUT-WLAN, WHUT-WLAN6, etc.

How to use

Select "connect automatically" option while connecting

image

Edit the python file

You should edit the username and password before you use it.The script don't collect any private message, don't worry.

image

Then you can run it by directly using python command like

python ./autologinwlan.py.

Use it by running exe

Pyinstaller is an another optional consideration.

pyinstaller ./autologinwlan.py -F -w.

If it doesn't works properly, plz install pyinstaller by

pip install pyinstaller .

By generating an execution file, you can put it in "startup" folder by pressing WIN+R, entering "shell:startup" and dragging it into the folder. image

image

This is my blog link.

If anything work wrongly, plz open an issue.

Enjoy it :).