支付宝扫码登录

1. WebBrowser请求网址 https://auth.alipay.com/login/index.htm

2. 获取二维码;

3. 获取提交所需参数,如下:

CtrlVersion 1,1,0,1
J_aliedit_key_hidn password
J_aliedit_net_info {"pcGateWayMac":"14-75-90-A2-99-58","pcWGateWayMac":"","pcWGateWayNearbyInfo":[],"pcWGateWaySignal":0,"pcWGateWayWifiName":""}
J_aliedit_prod_type  
J_aliedit_uid_hidn alieditUid
J_aliedit_using true
REMOTE_PCID_NAME _seaside_gogo_pcid
_seaside_gogo_  
_seaside_gogo_p  
_seaside_gogo_pcid  
alieditUid 839821b38e05b6206a811e72d62e3ba8
checkCode  
errorGoto  
errorVM  
goto  
idPrefix  
json_tk  
loginScene index
logonId  
method qrCodeLogin
needTransfer  
noActiveX false
password  
passwordSecurityId web|authcenter_querypwd_login|edcab6c5-7935-48a4-b778-ab001831c9edRZ13
password_input  
password_rsainput  
personalLoginError  
qrCodeSecurityId web|authcenter_qrcode_login|bae56ba2-2153-47cd-bb20-86eefe3fdd06RZ13
rds_form_token 2MUOSVSlrtXm8X7t1EIpWJo8VDxRj47O
redirectType  
security_activeX_enabled false
site  
sso_hid  
superSwitch true
support 000001
ua

242n+qZ9mgNqgJnCG0Yus65w7XCvsi/yLDVddU=|nOiH84T+hPeL8IX8iPOL/18=|neiHGXz1WexE7V/kge6L/IbjjOlz327Je8F3ErIS

|mu6b9JHkdOx+6HHnSP1K0WEagftMOLA8jxWYKlHIT/RhzLvBUzaW|m++T/GIRfgRxBWoeZQpvGnUAbMynFIo7ieKIJ4MsoxG73n7e|mOOM6Yws

|meWK74oq|luKW+WcCqR6pGqzRo9F1zXrRoASrB7QQrN17yXkLpBa8EKHTf85pwXoLoBenwq3IrQ2t|l+GOEGQRZQp5FmIVYBZ5AHgEax9oH2wDfwx

/EGQTZBd4A3oJqQk=|lO6BH3ofcARrHG8auho=|le+AHnv2hiqbKJAnV+9Z8UQhTjpVIVkjX/9f|kuWKFHEUewd+BGseZxF+CnAKfgamBg==|

k+uEGn8adeuf7Jnliv6H+1s0RyhNKEczSDxFPJw8|kOqFG37zgy+eLZUiUupc9EEkSzhXI1gsVyCAIA==|keaJF3IXeAR8B2gcZhF+CnYOeAurCw==|

jvaZB2IHaPaK+YrlkeuTM1wvQCVAL1opXSFW9lY=|j/iXCWzhkSWQNoQji+6B+o/2me+c6IfyhvGJ+lr6|jPuUCm8KZRlsFnkMew9gF2IbZxy8HA==|

jfqJ+pXmifyT55Dki/2F/5DolPuB+ZbiluGO+pXikf6I9JvjjPiO4ZfugfSb75zzgO+f60s=

 

4. 检查扫码,请求网址类似:

https://securitycore.alipay.com/barcode/barcodeProcessStatus.json?securityId=web%7Cauthcenter_qrcode_login%7Cbae56ba2-2153-47cd-bb20-86eefe3fdd06RZ13&_callback=light.request._callbacks.callback13

如果响应值如下表示扫码成功:

light.request._callbacks.callback20({"barcodeStatus":"confirmed","stat":"ok"})

5. 扫码成功,提交登录请求, 网址来自loginForm的action,如 https://authsu18.alipay.com/login/index.htm

 

6. 检查是否成功;

 

7. 成功抓取数据;

 

posted @ 2017-12-15 16:44  鸽子飞扬  阅读(9692)  评论(0编辑  收藏  举报