Closed qianfanguojin closed 5 months ago
在进入登录验证的最后一步前,需要使用部分验证信息获取加密的字符串。需要使用的验证信息: 由于 Go 的 json.Marshal 方法会将由 Map 所声明的 json 数据按照 Map 中 key 的字母表顺序排列,所以得到的 json 字符串为:
"{\"acid\":\"x\",\"enc_ver\":\"srun_bx1\",\"ip\":\"xxxx\",\"password\":\"xxxx\",\"username\":\"xxxx\"}"
在处理信息的过程中,sensCode 方法根据 content 字符串的内容(上文中的 json 字符串)组装得到 pwd:
很明显根据不同的 content 字符串得到的 pwd 结果也不一样。
在使用默认的登录情况下,
在进入登录验证的最后一步前,需要使用部分验证信息获取加密的字符串。需要使用的验证信息: 由于 Go 的 json.Marshal 方法会将由 Map 所声明的 json 数据按照 Map 中 key 的字母表顺序排列,所以得到的 json 字符串为:
在处理信息的过程中,sensCode 方法根据 content 字符串的内容(上文中的 json 字符串)组装得到 pwd:
很明显根据不同的 content 字符串得到的 pwd 结果也不一样。
在使用默认的登录情况下,