This commit is contained in:
Deniz Şafak
2024-10-26 00:48:35 +03:00
committed by GitHub
parent 10436f0b4f
commit c495415df9
+13
View File
@@ -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.
`"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.
![Example Request.](/examples/Request.png)
@@ -63,6 +65,7 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
"name": "My School Wi-Fi",
"ssid": "SCHOOL_WIFI_5G",
"url": "https://connect.schoolwifi.com/api/portal/dynamic/authenticate",
"internet_check_url": "8.8.8.8",
"payload": {
"username": "[email protected]",
"password": "123455678"
@@ -82,6 +85,7 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
"name": "My School ETHERNET",
"url": "http://10.3.41.15:8002/index.php?zone=dormnet",
"payload": "&auth_user=85795013%40myschool.com&auth_pass=123455678&redirurl=&accept=Login",
"internet_check_url": "8.8.8.8",
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"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]
> - 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.