|
第一步,输入账号,判断是否需要验证码
URL = "https://ssl.ptlogin2.tenpay.com/check?regmaster=&pt_tea=2&pt_vcode=1&uin=【账号】&appid=546000248&js_ver=10156&js_type=1&login_sig=&u1=https%3A%2F%2Fwww.tenpay.com%2Fv2%2Fres%2Fjs%2Fyui%2Fbuild%2Flogin%2Fptlogin.shtml&r=0.1292632024269551&pt_uistyle=34"
返回格式
无需验证码
ptui_checkVC('1','!XXX','\x00\x00\x00\x00\xc2\xe7\x01\x0d','','2');需要验证码
ptui_checkVC('1','T2T_hiVbKBOxEoXEUPe-M93TPMyzJXkoQbpOOQKiDKyWxsJPJI4BnA**','\x00\x00\x00\x00\xc2\xe7\x01\x0d','','2');
ptui_checkVC('1','【cap_cd】','\x00\x00\x00\x00\xc2\xe7\x01\x0d','','2');
【获取验证码】
https://ssl.captcha.qq.com/cap_u ... lientype=2&uin=【账号】&aid=546000248&cap_cd=【cap_cd】&pt_style=34&0.5867949773091823&rand=0.5357746493536979
返回【vsig】
https://ssl.captcha.qq.com/getimgbysig?clientype=2&uin=【账号】&aid=546000248&cap_cd=【cap_cd】&pt_style=34&0.5867949773091823&rand=0.019432095577940345&sig=" + vsig
【验证验证码】
"https://ssl.captcha.qq.com/cap_union_verify_new?clientype=2&uin=【账号】&aid=546000248&cap_cd=【cap_cd】&pt_style=34&0.9996218350715935&rand=0.3026496341917664&capclass=0&sig=【vsig】&collect=&ans=【验证码】"
【登录】
https://ssl.ptlogin2.tenpay.com/login?u=【账号】&verifycode=【不用验证码0需要验证码是1】&pt_vcode_v1=【不用验证码0需要验证码是1】&pt_verifysession_v1=" + pt_verifysession_v1 + "&p=" + _p + "&pt_randsalt=" + isRandSalt + "&u1=https%3A%2F%2Fwww.tenpay.com%2Fv2%2Fres%2Fjs%2Fyui%2Fbuild%2Flogin%2Fptlogin.shtml&ptredirect=0&h=1&t=1&g=1&from_ui=1&ptlang=2052&action=4-30-1463388298248&js_ver=10156&js_type=1&login_sig=&pt_uistyle=34&aid=546000248&daid=120&",
|
|