Last active
April 13, 2018 16:12
-
-
Save databhishek/3c0a3af28565d08b3dea4d3b5b506f4c to your computer and use it in GitHub Desktop.
ION WiFi Login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: $./ion-login.sh <username> <password> | |
# Author: Abhishek Singh | |
nmcli connection up "ION@17th-Block" | |
curl -sd 'mode=191' \ | |
-sd 'isAccessDenied=false' \ | |
-sd 'url=null' \ | |
-sd 'message=' \ | |
-sd 'regusingpinid=' \ | |
-sd 'checkClose=1' \ | |
-sd 'sessionTimeout=-1' \ | |
-sd 'guestmsgreq=false' \ | |
-sd 'logintype=2' \ | |
-sd 'orgSessionTimeout=-1' \ | |
-sd 'chrome=-1' \ | |
-sd 'alerttime=null' \ | |
-sd 'timeout=-1' \ | |
-sd 'popupalert=0' \ | |
-sd 'dtold=0' \ | |
-sd 'mac=04:c5:a4:f6:22:c5' \ | |
-sd 'servername=mahe4.dvois.com' \ | |
-sd 'temptype=' \ | |
-sd 'username='$1'' \ | |
-sd 'password='$2'' \ | |
-sd 'saveinfo=saveinfo' \ | |
-sd 'loginotp=false' \ | |
-sd 'logincaptcha=false' \ | |
-sd 'registeruserotp=false' \ | |
-sd 'registercaptcha=false' \ | |
--output /dev/null \ | |
https://mahe4.dvois.com/24online/servlet/E24onlineHTTPClient | |
notify-send "ION Connected" -t 2000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment