程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> C# >> C#入門知識 >> 模擬支付寶、淘寶登錄1,支付寶淘寶登錄

模擬支付寶、淘寶登錄1,支付寶淘寶登錄

編輯:C#入門知識

模擬支付寶、淘寶登錄1,支付寶淘寶登錄


 

1、進入支付寶首頁

GET https://auth.alipay.com/login/index.htm HTTP/1.1
Accept: */*
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: auth.alipay.com
Connection: Keep-Alive

返回數據對比

抓取數據 模擬數據 Set-Cookie: zone=RZ05B; Domain=.alipay.com; Path=/
Set-Cookie: JSESSIONID=8E9CE5274A9845414A3D5A2F0096FE71; Path=/; HttpOnly
Set-Cookie: ALIPAYJSESSIONID=RZ05PCX4f0Oro8Y79Z4G5yK3Kd10ejauthRZ05; Domain=.alipay.com; Path=/
Set-Cookie: ctoken=QMubhtbKzuZ4H8WI; Domain=.alipay.com; Path=/
Strict-Transport-Security: max-age=31536000
Set-Cookie: JSESSIONID=RZ05PCX4f0Oro8Y79Z4G5yK3Kd10ejauthRZ05; Path=; HttpOnly
Set-Cookie: umt=Lf620618f0e978bccb4d7b4132aaf4308; Domain=.alipay.com; Path=/; HttpOnly
Content-Language: zh-CN
Content-Encoding: gzip
Set-Cookie: spanner=UDNOUz3HXn2jLwTVLXr6sPbMLf3jbyznXt2T4qEYgj0=;path=/;secure; Set-Cookie:zone=RZ05A; Domain=.alipay.com; Path=/,
JSESSIONID=B91A5BC013CABE0CF2F537A131069B58; Path=/; HttpOnly,
ALIPAYJSESSIONID=RZ05Wbzx29QIXspbRf089plirFJjG1authRZ05; Domain=.alipay.com; Path=/,
ctoken=wFdJfnea62EscYck; Domain=.alipay.com; Path=/,
JSESSIONID=RZ05Wbzx29QIXspbRf089plirFJjG1authRZ05; Path=; HttpOnly,
umt=Le3577405ebbe07cc0789631d67934f57; Domain=.alipay.com; Path=/; HttpOnly,
spanner=6TZwcIb/E3QWkbVdBG/uwS25BA7Z6XFW4EJoL7C0n0A=;path=/;secure;


2、轉到淘寶登錄界面

GET https://login.taobao.com/member/login.jhtml?style=alipay&goto=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000 HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: https://auth.alipay.com/login/index.htm
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: login.taobao.com
Connection: Keep-Alive

返回數據對比

抓取數據 模擬數據

Set-Cookie: v=0; Domain=.taobao.com; Path=/
Set-Cookie: cookie2=1c6cbe43563aed9300ce9f6181985cc2;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: t=3fd1ee12c63916d2634f45e0e27d0f92; Domain=.taobao.com; Expires=Wed, 21-Sep-2016 09:15:04 GMT; Path=/
Set-Cookie: _tb_token_=Ax92USyBkbJdKk2; Domain=.taobao.com; Path=/
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache
Pragma: no-cache
Cache-Control: no-store
Strict-Transport-Security: max-age=31536000
Content-Encoding: gzip

Set-Cookie:v=0; Domain=.taobao.com; Path=/,
cookie2=1c3cff9a01d9387dafd2986ffddedead;Domain=.taobao.com;Path=/;HttpOnly,
t=00ccb3f42116635d0726fb9b774dcf9a; Domain=.taobao.com; Expires=Wed, 21-Sep-2016 09:18:50 GMT; Path=/,
_tb_token_=6g94ST1Tv54XG82; Domain=.taobao.com; Path=/

 

3、登錄

POST https://login.taobao.com/member/request_nick_check.do?_input_charset=utf-8 HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
Referer: https://login.taobao.com/member/login.jhtml?style=alipay&goto=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: login.taobao.com
Content-Length: 1354
Connection: Keep-Alive
Cache-Control: no-cache

Cookie:

_uab_collina=146667330566976018583368;
v=0;
cookie2=1c6cbe43563aed9300ce9f6181985cc2;
t=3fd1ee12c63916d2634f45e0e27d0f92;
_tb_token_=Ax92USyBkbJdKk2;
cna=HpLyD72jXCcCAXPnZAPIuknJ;
l=AuLiOULND31MuOoxB9bprpqScmZAF-ZN;
_umdata=12BC6CC4D6633099B19E4739E75049832C922336E8C6989023B3772FFDBB28C28D5D90E2E084BECF5486103C97EBE793C37E67A830260578443740584744B7332F243AC7D3311C13758DAF1B99B0BDE7AE749A458DA9A3B1E3B04849D6B30566A67F1F22269B3CD3

Post數據:

username=******&ua=067%23bxPmGfm2m5mmo7hkmmmmmQTuo0qf95xhbQl5oroARTy3ba4aWOhG9rlYoU4mZ2qZbCVlJ349zTo4bw3Cmx9sPQe3JwocZ98hmhTmWfLmg6KnjeXwNEubhuSZjUWANlXLmfmjkDAep1dGdqDLfIDNAQjy7596G98eBuCdWImcmf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I6MTA5Mywic2FoIjo2MTQsImJzdyI6MTA3NiwiYnNoIjo4MjQsImVsb2MiOiJodHRwcyUzQSUyRiUyRmxvZ2luLnRhb2Jhby5jb20lMkZtZW1iZXIlMkZsb2dpbi5qaHRtbCUzRnJlZGlyZWN0VVJMJTNEaHR0cHMlMjUzQSUyNTJGJTI1MkZsYWIuYWxpcGF5LmNvbSUyNTNBNDQzJTI1MkZ1c2VyJTI1MkZuYXZpZ2F0ZS5odG0lMjUzRnNpZ25fZnJvbSUyNTNEMzAwMCIsImV0eiI6NDgwLCJldHQiOjE0NjY2NzM5MjA0NTQsImVjYSI6IkhwTHlENzJqWENjQ0FYUG5aQVBJdWtuSiIsImVzdCI6MCwibXMiOiIyMTQ4IiwieHMiOiIxMkJDNkNDNEQ2NjMzMDk5QjE5RTQ3MzlFNzUwNDk4MzJDOTIyMzM2RThDNjk4OTAyM0IzNzcyRkZEQkIyOEMyOEQ1RDkwRTJFMDg0QkVDRjU0ODYxMDNDOTdFQkU3OTNDMzdFNjdBODMwMjYwNTc4NDQzNzQwNTg0NzQ0QjczMzJGMjQzQUM3RDMzMTFDMTM3NThEQUYxQjk5QjBCREU3QUU3NDlBNDU4REE5QTNCMUUzQjA0ODQ5RDZCMzA1NjZBNjdGMUYyMjI2OUIzQ0QzIn0%3D&_callback=_1177_1466673920462&isg2=An19C1-HONyv4WUg9E%2F-79gmzdd3Q7Fs HTTP/1.1
Accept: */*
Referer: https://login.taobao.com/member/login.jhtml?redirectURL=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: ynuf.alipay.com
Connection: Keep-Alive
Cookie: zone=RZ05B; ALIPAYJSESSIONID=RZ05PCX4f0Oro8Y79Z4G5yK3Kd10ejauthRZ05; ctoken=QMubhtbKzuZ4H8WI; umt=Lf620618f0e978bccb4d7b4132aaf4308; mobileSendTime=-1; credibleMobileSendTime=-1; ctuMobileSendTime=-1; riskMobileBankSendTime=-1; riskMobileAccoutSendTime=-1; riskMobileCreditSendTime=-1; riskCredibleMobileSendTime=-1; riskOriginalAccountMobileSendTime=-1; cna=HpLyD72jXCcCAXPnZAPIuknJ; umdata_=12BC6CC4D6633099B19E4739E75049832C922336E8C6989023B3772FFDBB28C28D5D90E2E084BECF5486103C97EBE793C37E67A830260578443740584744B7332F243AC7D3311C13758DAF1B99B0BDE7AE749A458DA9A3B1E3B04849D6B30566A67F1F22269B3CD3

返回Json

_1177_1466673920462({"id":"12BC6CC4D6633099B19E4739E75049832C922336E8C6989023B3772FFDBB28C28D5D90E2E084BECF5486103C97EBE793C37E67A830260578443740584744B7332F243AC7D3311C13758DAF1B99B0BDE7AE749A458DA9A3B1E3B04849D6B30566A67F1F22269B3CD3"})

 

5、校驗驗證(可重復提交,返回的value會變化)

GET https://cf.aliyun.com/nocaptcha/analyze.jsonp?a=CF_APP_TBLogin_PC&t=28a327901ae64f6f872bd80aa1d0e3ed5b9a9c56&n=067%23bxPm7fmXhQ7mo7hkmmmmmQTuo0qf95xpbFD0833ARTy3b08aWOhGPelYoUMfZ2qZbrMlJ349plo4bwT6mx9sPQe3Jwoc9VLhmmiw%2B7mmgQ20VUXT4BtTTyPFmfm%2FhVtmm%2BmyOt3B3wAGZZA9P7PmkD4zmmhDAKAZje9CNV9Fl9Lhmmiw%2B7mmgQSFVUXT4BtTTyPFmfm%2FhVtmm%2Bmygu3B3wAGZZA9P7PmkD4zmmhDAFsZje9CNV9Fl9Lhmmiw%2B7mmgQuoVUXT4BtTTyZ6mfmPOoQ%2FIO7hmhFmLA1LdWJNBsmT4nVjPbU6HzM7hWLhmmcfOLG%2Fg7PmhokfItiFmfmMmmtmm%2BhMQwXK9B17wxQAISq16pdpP5CAz2L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3wAGZZA9P7PmkD4zmmhDAnEZje9CNV9Fl9Lhmmiw%2B7mmgQBnVUXT4BtTTyPFmfm%2FhVtmm%2Bmyct3B3wAGZZA9FmPmZLmDIl7xgsGNukTR6ZufrKpedSmZ&p=%7B%22behaviorTraceId%22%3A%22bc2d339351887a79fda4757b1f5b04e7%22%2C%22TPL_username_1%22%3A%2275582679%40qq.com%22%7D&scene=&asyn=0&lang=cn&v=546&callback=jsonp_03624776992913893 HTTP/1.1
Accept: */*
Referer: https://login.taobao.com/member/login.jhtml?redirectURL=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: cf.aliyun.com
Connection: Keep-Alive

返回Json

jsonp_03624776992913893({"result":{"value":"04VadvBFMNkz84WkoWP3kGR3sDt3EhKkyBIrTvM6Z75KWcD8zs9LKlE9kJ5M5QwP-N20frJYIpBfrMbT9A1X3XtkZy_6zUIykpdjXIFXL77cirw4z6GNVd_SF5LvcCooPO3k4p-lNaGjpmeVDUpsBxyA","code":0,"csessionid":"8e422c14ca0701e98b03d92a42145c6d"},"success":true});

 

6、再次登錄

POST https://login.taobao.com/member/login.jhtml?redirectURL=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000 HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: https://login.taobao.com/member/login.jhtml?redirectURL=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000
Accept-Language: zh-CN
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Host: login.taobao.com
Content-Length: 2798
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: _uab_collina=146667330566976018583368; v=0; cookie2=1c6cbe43563aed9300ce9f6181985cc2; t=3fd1ee12c63916d2634f45e0e27d0f92; _tb_token_=Ax92USyBkbJdKk2; cna=HpLyD72jXCcCAXPnZAPIuknJ; l=Avz8CeaoSc9WloQD3VBvPNGRjJSurKAf; _umdata=12BC6CC4D6633099B19E4739E75049832C922336E8C6989023B3772FFDBB28C28D5D90E2E084BECF5486103C97EBE793C37E67A830260578443740584744B7332F243AC7D3311C13758DAF1B99B0BDE7AE749A458DA9A3B1E3B04849D6B30566A67F1F22269B3CD3

TPL_username=******&TPL_password=&ncoSig=04VadvBFMNkz84WkoWP3kGR3sDt3EhKkyBIrTvM6Z75KWcD8zs9LKlE9kJ5M5QwP-N20frJYIpBfrMbT9A1X3XtkZy_6zUIykpdjXIFXL77cirw4z6GNVd_SF5LvcCooPO3k4p-lNaGjpmeVDUpsBxyA&ncoSessionid=8e422c14ca0701e98b03d92a42145c6d&ncoToken=28a327901ae64f6f872bd80aa1d0e3ed5b9a9c56&slideCodeShow=true&loginsite=0&newlogin=0&TPL_redirect_url=https%3A%2F%2Flab.alipay.com%3A443%2Fuser%2Fnavigate.htm%3Fsign_from%3D3000&from=alipay&fc=default&style=alipay&css_style=&keyLogin=false&qrLogin=true&newMini=false&newMini2=false&tid=&loginType=3&minititle=&minipara=&pstrong=&sign=&need_sign=&isIgnore=&full_redirect=&popid=&callback=&guf=&not_duplite_str=&need_user_id=&poy=&gvfdcname=&gvfdcre=&from_encoding=&sub=false&TPL_password_2=******&loginASR=1&loginASRSuc=1&allp=&oslanguage=&sr=1093*614&osVer=windows%7C6.2&naviVer=ie%7C8&miserHardInfo=&um_token=HV01PAAZ0ab2a19273e76403576ba89b0004f66f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anc78fu4r5C60J9OTkSDMBk4dpmtSV1WqEpT38iCEoQsalPhJ9wEenh7KumfmZfOo7t%2BpamfmLg%2Bmh3UR4uWrBmfmummhsH5uDmD8mm%2BdAzImmJ7mmRIXs8mZSmmhGJ5uDmUKvvt3sVgv1Gt7hmh48hLDmh3VA0Sel2myCmdDLR0JMQ5qAG7Pmh7mPsruBjhOhmmlm8LWmqcIemHfqmfmbmkQmD%2B8tHfoWg7PmhokfIti7mfmwM%2BTmm83vLmPmhS9emP%2BVzT7hmhB78ZNLu%2BJNBsQI3nV7LaF3hxjh7T8gxEWeP6mhmmMlqmhh1om7mfmTj2Tmfz0FvADuADtny4pRnh4fs64FmfmMmmtQm%2BhRFUXK9B17wxQAISq16pdpP5CAzVLhmmiw%2B7mmgQFaVUXT4BtTTyPFmfm%2FhVtmm%2BmYYu3B3wAGZZA9P7PmkD4zmmhDAnEZje9CNV9Fl9Lhmmiw%2B7mmgQBnVUXT4BtTTyPFmfm%2FhVtmm%2Bmyct3B3wAGZZA9FmPmZLmDIl7xgsGNukTR6ZufrKpedSmZ

返回數據Cookie

P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Content-Language: zh-CN
Set-Cookie: uc1=cookie14=UoWxN%2FXePUZqEA%3D%3D&existShop=false&cookie16=Vq8l%2BKCLySLZMFWHxqs8fwqnEw%3D%3D&cym=1&cookie21=URm48syIYn73&tag=7&cookie15=UIHiLt3xD8xYTw%3D%3D&pas=0; Domain=.taobao.com; Path=/
Set-Cookie: uc3=sg2=BYltwuPhec6PF0KVGp4fbvzzvHmrNNM5sEhHE%2FfEs8w%3D&nk2=2Xr%2By0xvUW2bYQ%3D%3D&id2=VyT2HwJa9xk%3D&vt3=F8dASmXQz6%2FU7HY7bE0%3D&lg2=VFC%2FuZ9ayeYq2g%3D%3D;Domain=.taobao.com;Path=/;Expires=Sat, 23-Jul-2016 09:36:38 GMT;HttpOnly
Set-Cookie: existShop=MTQ2NjY3NDU5OA%3D%3D; Domain=.taobao.com; Path=/
Set-Cookie: lid=%E9%BB%91%E9%A9%AC%E7%AC%91%E8%A5%BF%E9%A3%8E; Domain=login.taobao.com; Expires=Fri, 23-Jun-2017 09:36:38 GMT; Path=/
Set-Cookie: uss=Vvkj1mq7%2Fo%2FvjvAjdjQyq3ebnzvXADQvg%2Fc84TZBznoBin4idnUpDRF8m%2B0%3D;Domain=.taobao.com;Path=/;Expires=Sat, 23-Jul-2016 09:36:38 GMT;HttpOnly
Set-Cookie: lgc=%5Cu9ED1%5Cu9A6C%5Cu7B11%5Cu897F%5Cu98CE; Domain=.taobao.com; Expires=Sat, 23-Jul-2016 09:36:38 GMT; Path=/
Set-Cookie: tracknick=%5Cu9ED1%5Cu9A6C%5Cu7B11%5Cu897F%5Cu98CE; Domain=.taobao.com; Expires=Fri, 23-Jun-2017 09:36:38 GMT; Path=/
Set-Cookie: cookie2=1c6cbe43563aed9300ce9f6181985cc2;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: sg=%E9%A3%8E4f; Domain=.taobao.com; Path=/
Set-Cookie: mt=np=; Domain=.taobao.com; Expires=Thu, 30-Jun-2016 09:36:38 GMT; Path=/
Set-Cookie: cookie1=AHgCNQdbFV5bvQyhv3qUjerXcCRdw4epmM3plCKVrQg%3D;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: tbcp=e=AniCWHo5g0mszcSaP3wQx89iKMk%3D&f=UUjZel14vzmvKqmEhT%2FFnRFZkCY%3D; Domain=.caipiao.taobao.com; Path=/
Set-Cookie: unb=48593554;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: skt=0667ea2e9e6805c9;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: t=3fd1ee12c63916d2634f45e0e27d0f92; Domain=.taobao.com; Expires=Wed, 21-Sep-2016 09:36:38 GMT; Path=/
Set-Cookie: _cc_=VFC%2FuZ9ajQ%3D%3D; Domain=.taobao.com; Expires=Fri, 23-Jun-2017 09:36:38 GMT; Path=/
Set-Cookie: tg=0; Domain=.taobao.com; Expires=Sat, 10-Mar-2018 09:36:38 GMT; Path=/
Set-Cookie: _l_g_=Ug%3D%3D; Domain=.taobao.com; Path=/
Set-Cookie: _nk_=%5Cu9ED1%5Cu9A6C%5Cu7B11%5Cu897F%5Cu98CE; Domain=.taobao.com; Path=/
Set-Cookie: cookie17=VyT2HwJa9xk%3D;Domain=.taobao.com;Path=/;HttpOnly
Set-Cookie: lc=Vy68VqyjqFCvvX6fA061g1ujqWI%3D;Domain=login.taobao.com;Path=/;Expires=Sat, 23-Jul-2016 09:36:38 GMT;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache
Pragma: no-cache
Cache-Control: no-store
Strict-Transport-Security: max-age=0
Content-Encoding: gzip

 

 

模擬第一步還行,後面要破解數據加密這個難度有點大,就算破解了也會永遠被新算法牽著鼻子走,只能通過其他方法。一種可以通過調用js來登錄,另外一種就是通過webbroswer

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved