mirror of
https://github.com/Stone-Red-Code/HotspotAutoLogin.git
synced 2026-11-01 23:05:40 +01:00
Update README.md
This commit is contained in:
@@ -16,7 +16,8 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
- Double-click on HotspotAutoLogin.exe to launch the application.
|
- Double-click on HotspotAutoLogin.exe to launch the application.
|
||||||
|
|
||||||
### Option 2: Run with Python
|
### Option 2: Run with Python
|
||||||
- Clone or download the repository to your local machine.
|
- Clone or [download the repository](https://github.com/denizsafak/HotspotAutoLogin/archive/refs/heads/main.zip) to your local machine.
|
||||||
|
- Extract from zip.
|
||||||
- Run "run.bat" file.
|
- Run "run.bat" file.
|
||||||
|
|
||||||
## `Features`
|
## `Features`
|
||||||
@@ -31,6 +32,8 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
- You can view the log of the script's actions by clicking the "Show Log" option in the system tray menu.
|
- You can view the log of the script's actions by clicking the "Show Log" option in the system tray menu.
|
||||||
|
|
||||||
## `How to Configure the config.json?`
|
## `How to Configure the config.json?`
|
||||||
|
> [!TIP]
|
||||||
|
> I recebtly, added "Add new" button to the program, so you can achieve the same thing without needing to edit the config.json.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -61,8 +64,8 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
{
|
{
|
||||||
"profiles": [
|
"profiles": [
|
||||||
{
|
{
|
||||||
"name": "My School Wi-Fi",
|
"name": "Example Wi-Fi",
|
||||||
"ssid": "SCHOOL_WIFI_5G",
|
"ssid": "EXAMPLE_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",
|
"internet_check_url": "8.8.8.8",
|
||||||
"payload": {
|
"payload": {
|
||||||
@@ -81,7 +84,7 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "My School ETHERNET",
|
"name": "Example 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",
|
"internet_check_url": "8.8.8.8",
|
||||||
@@ -101,13 +104,8 @@ HotspotAutoLogin is a script that designed to automate the login process for Wi-
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> If you get:
|
> Recent Windows updates restricts 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).
|
||||||
>
|
|
||||||
> ```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.
|
||||||
|
|||||||
Reference in New Issue
Block a user