锐捷校园网ePortal Web(网页认证)自动登录脚本

锐捷校园网ePortal Web(网页认证)自动登录脚本

周四 12月 05 2024
133 字 · 1 分钟
life 未分配标签

锐捷校园网ePortal Web(网页认证)自动登录脚本

获取登录数据

  1. 首先跳转到校园网登录界面,按下 F12 打开开发者工具,选择“网络” → “Fetch/XHR”功能区。

  2. 开始登录,登陆成功后在开发者工具内找到 InterFace.do?method=login 请求。

  3. 右键点击该请求,选中“复制” → “以 cURL (bash) 格式复制”。

  4. 您会得到类似以下的内容:

    BASH
    curl 'http://xxx.xxx.xxx.xxx/eportal/InterFace.do?method=login' \
      -H 'Accept: */*' \
      -H 'Accept-Language: zh-CN,zh;q=0.9,xxxxxxxxxxxxxxxxxx(省略)' \
      -H 'Connection: keep-alive' \
      -H xxxxxxxxxxxxxxxxxxxxxx(以下省略) \
      --insecure

Thanks for reading!

锐捷校园网ePortal Web(网页认证)自动登录脚本

周四 12月 05 2024
133 字 · 1 分钟
life 未分配标签

© sunwen | CC BY-NC-SA 4.0