3

疑惑: 二次验证的状态是如何保存的?

 3 years ago
source link: https://www.v2ex.com/t/797699
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

疑惑: 二次验证的状态是如何保存的?

  qinxs · 22 小时 40 分钟前 · 616 次点击

是腾讯云函数对 https://www.baacloud34.com 自动签到时遇到的问题
之前一直正常,但最近这个网站增加了邮件的二次签到,导致了不能自动签到了

在请求 https://www.baacloud34.com/modules/_login.php 时,返回值如下

已二次验证

  code: "1"
  ok: "1"
  msg: "欢迎回来"
  url: "/modules/"

未二次验证

  code: "1"
  ok: "1"
  msg: "欢迎回来"
  url: "/modules/[email protected]&password=XXXXXX"
  1. 清除 该网站所有数据(包括 Cookie )后 重新请求 二次验证的状态依然存在(返回值中 url 为 "/modules/")
  2. 换浏览器请求 需要二次验证;使用相同浏览器的新建隐身窗口 不需要二次验证
  3. (在浏览器端 已通过二次验证后)开启抓包软件 需要重新二次验证

调用栈.png

猜测应该是把当前的环境数据发送到服务器 根据在服务器端判断
能否得到这些关键数据 用于 python 中?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK