This file contains hidden or 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
#!/usr/bin/env bash | |
USERNAME= #改成你的读者卡号 | |
PASSWORD= #改成你的读者卡密码 | |
LOGINURL="http://192.168.180.11:8080/nlcwlan/QueryGuest" | |
PASSWORD=$(echo $PASSWORD|base64) | |
UA="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)" |