Skip to content

Instantly share code, notes, and snippets.

View KJlmfe's full-sized avatar

KJlmfe KJlmfe

  • China
View GitHub Profile
@darren
darren / nlc.sh
Last active November 30, 2023 05:04
国家图书馆Wifi自动登录脚本
#!/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)"