mirror of
https://github.com/Stone-Red-Code/HotspotAutoLogin.git
synced 2026-11-01 23:05:40 +01:00
v1.83
This commit is contained in:
@@ -46,6 +46,8 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
|
|
||||||
`"url":` Enter the "Request URL" in the "Headers" tab here.
|
`"url":` Enter the "Request URL" in the "Headers" tab here.
|
||||||
|
|
||||||
|
`"internet_check_url":` Adress to check the internet connection. If you can access "8.8.8.8" without logging into your network, please change this.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
@@ -63,6 +65,7 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
"name": "My School Wi-Fi",
|
"name": "My School Wi-Fi",
|
||||||
"ssid": "SCHOOL_WIFI_5G",
|
"ssid": "SCHOOL_WIFI_5G",
|
||||||
"url": "https://connect.schoolwifi.com/api/portal/dynamic/authenticate",
|
"url": "https://connect.schoolwifi.com/api/portal/dynamic/authenticate",
|
||||||
|
"internet_check_url": "8.8.8.8",
|
||||||
"payload": {
|
"payload": {
|
||||||
"username": "[email protected]",
|
"username": "[email protected]",
|
||||||
"password": "123455678"
|
"password": "123455678"
|
||||||
@@ -82,6 +85,7 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
"name": "My School ETHERNET",
|
"name": "My School ETHERNET",
|
||||||
"url": "http://10.3.41.15:8002/index.php?zone=dormnet",
|
"url": "http://10.3.41.15:8002/index.php?zone=dormnet",
|
||||||
"payload": "&auth_user=85795013%40myschool.com&auth_pass=123455678&redirurl=&accept=Login",
|
"payload": "&auth_user=85795013%40myschool.com&auth_pass=123455678&redirurl=&accept=Login",
|
||||||
|
"internet_check_url": "8.8.8.8",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Content-Type": "application/x-www-form-urlencoded",
|
"Content-Type": "application/x-www-form-urlencoded",
|
||||||
"Connection": "keep-alive",
|
"Connection": "keep-alive",
|
||||||
@@ -97,6 +101,15 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> If you get:
|
||||||
|
>
|
||||||
|
> ```Could not find a Wi-Fi network with SSID: {}. If your Wi-Fi is disabled, please enable it. Checking again in {} seconds...```
|
||||||
|
>
|
||||||
|
> error, **even with the correct SSID**, it’s likely due to recent Windows updates that restrict third-party apps from accessing Wi-Fi names unless location services are enabled. To fix this, turn on location services in your settings. For more details, check the article from 04/02/2024 [Changes to API behavior for Wi-Fi access and location](https://learn.microsoft.com/en-us/windows/win32/nativewifi/wi-fi-access-location-changes).
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> - The script relies on the assumption that the web portal uses basic authentication. If the portal uses a more complex login mechanism, additional adjustments may be necessary.
|
> - The script relies on the assumption that the web portal uses basic authentication. If the portal uses a more complex login mechanism, additional adjustments may be necessary.
|
||||||
> - This script is primarily intended for Windows. Adaptations might be needed for other operating systems.
|
> - This script is primarily intended for Windows. Adaptations might be needed for other operating systems.
|
||||||
|
|||||||
Reference in New Issue
Block a user