Mili is an open source tool for auto login hotspot pages. if you are tired of inserting username and password for internet access, Mili is your friend!
Every time you connect to a new WiFi, Mili checks Mikrotik services and try to login.
In addition, you can set more than one login info (for example your close friend password) for Mili. every time Mili tries to use a random user! (yes! you can set share percentage too)
Example:
"login_information" : [
{
"username": "USER 1",
"password": "PASS 1",
"share": 5
},
{
"username": "USER 2",
"password": "PASS 2",
"share": 1
},
]
git clone https://github.com/SadeghHayeri/Mili.git
cd Mili/scripts
./install.sh
mili config
this is optional (Note: disabling SIP is unsafe. enable it immediately after rename captive network.)
- Restart your Mac.
- Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
- From the Utilities menu, select Terminal.
- At the prompt type exactly the following and then press Return: csrutil disable
- Terminal should display a message that SIP was disabled.
- In the Finder, select Go > Go To Folder.
- Enter /System/Library/CoreServices and hit return.
- Find Captive Network Assistant, click it, and rename it with an extra word, like Captive Network Assistant Do Not Launch and press return.
- Enter your password when prompted to make the change.
- From the menu, select Restart.
mili config
mili
mili login
mili login <UserName>
mili status
mili logout