第五步就是识别验证码了
secretkey=[文本框:验证码识别]
&wtype=geetest
&supporttype=3
&challenge=[challenge变量]
>=[gt变量]
这里是POST提交的参数。
第七步是采集识别结果,然后第八步就是登陆动作。
登陆这步的前七步,就是识别验证码,然后采集登陆加密,再在这里功能名就的登陆成功了。
type=0
&userName=[URLUTF8编码]{获取列表值}账号列表|账号|自动{/获取列表值}[/URLUTF8编码]
&passWord={获取列表值}账号列表|密码|自动{/获取列表值}
&geetest_challenge=[challenge]
&geetest_validate=[validate]
&geetest_seccode=[validate]
&rememberMe=on
&csrf_token=[TOKEN变量]
这里就是提交的POST参数,账号密码,识别结果还有TOKEN变量。
HTTP/1.1 302 Found
Date: Sat, 14 Nov 2020 21:35:26 GMT
Server: Apache
X-Powered-By: PHP/7.1.5
X-Frame-Options: SAMEORIGIN
Access-Control-Allow-Origin: null
Access-Control-Allow-Credentials: true
Cache-Control: private
Access-Control-Allow-Headers: origin, content-type, accept
Set-Cookie: PHPSESSID=djtipj2fr699ssj3qv86t1mcj9; path=/; domain=.0719fang.cn
Upgrade: h2
Connection: Upgrade, close
Location: /main
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="1;url=/main" />
<title>Redirecting to /main</title>
</head>
<body>
Redirecting to <a href="/main">/main</a>.
</body>
</html>
这里是登陆成功返回的参数,其实没有啥用,因为软件写的比较简单,导致这里判断登陆成功与否要重新一步GET个人中心。