https://github.com/mml0/autologin
https://github.com/mml0/autologin
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mml0/autologin
- Owner: MML0
- Created: 2023-12-09T11:27:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T17:51:17.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T21:33:54.449Z (almost 2 years ago)
- Language: Java
- Size: 232 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoLogin
## Overview
**AutoLogin** is an application designed to automate the login process , making it easier for users to access their accounts without manually entering credentials each time.
## Download Links
### Android Version
You can download the Android APK to automate the login process:
- [Download AutoLogin APK](https://github.com/MML0/AutoLogin/releases/download/apk/AutoLogin.apk)
### Windows Version
For Windows users, a batch file is provided to automate the login:
1. **Edit User Credentials**: Open the batch file in Notepad and update the username and password with your own.
2. **Save the File**: Ensure the file is saved with a `.bat` extension.
- [Download AutoLogin Batch File](https://github.com/MML0/AutoLogin/blob/main/auto%20login.bat)
### Sample Batch File
Below is an example of the batch script used for automation:
```batch
@echo off
setlocal
::change this
set username=01asdxxx
set password=ad12xxx
set url=http://10.10.10.10:8090/login.xml
set referer=http://10.10.10.10:8090/httpclient.html
set mode=191
set producttype=0
for /f "tokens=*" %%A in ('powershell -command "[Math]::floor((Get-Date).ToUniversalTime().Subtract((Get-Date).ToUniversalTime().Date).TotalSeconds)"') do set "timestamp=%%A"
curl -X POST ^
-H "User-Agent: %user_agent%" ^
-H "Referer: %referer%" ^
-d "mode=%mode%&username=%username%&password=%password%&a=%timestamp%&producttype=%producttype%" ^
%url%
timeout /t 4 /nobreak >nul
endlocal
```