Created
October 30, 2023 01:24
BJUT network login script with wifi name: bjut-sushe-(2.4G/5G)-XXXX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fill your username and password | |
username=20123456 | |
password=THISisYOURpassword | |
# the specific IP addr will be logged in, which means you can login other's device by IP addr. | |
ip=`ifconfig en0 | grep 'inet ' | awk '{print $2}'` | |
curl "http://10.21.221.98:801/eportal/portal/login?callback=dr1003&login_method=1&user_account=$username%40campus&user_password=$password&wlan_user_ip=$ip&wlan_user_ipv6=&wlan_user_mac=000000000000&wlan_ac_ip=&wlan_ac_name=&jsVersion=4.2.1&terminal_type=3&lang=zh-cn&v=4344&lang=zh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment