Last active
December 15, 2015 23:59
-
-
Save peterlee0127/5344762 to your computer and use it in GitHub Desktop.
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/sh | |
#淡江大學新版無線網路登入系統Script 適用Unix,Linux,Mac | |
#iOS 版本 https://itunes.apple.com/app/id541911220?mt=8 | |
#淡水適用 | |
user=帳號 #這裡改成自己的帳號 | |
pass=密碼 #這裡改成自己的密碼 | |
url=http://163.13.246.254/cgi-bin/ace_web_auth.cgi #要POST的位址 | |
curl --data "username=$user&userpwd=$pass&login=%E7%99%BB%E5%85%A5" $url | |
# 特殊欄位:login=%E7%99%BB%E5%85%A5 | |
# 來源 "登入"中文的編碼 %E7%99%BB%E5%85%A5 這欄位一樣要post |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment