100%の確率で友達ならQQラッキーキャラクターを手に入れる



100 Probability Any Friend Obtain Qq Lucky Characters



httpsを使用して、次のリクエストを送信します。

POST /proxy/domain/oidb.tim.qq.com/v3/oidbinterface/oidb_0xdd0_0?sdkappid=39998 HTTP/1.1 Host: ti.qq.com Connection: close Content-Length: 39 Accept: application/json, text/plain, */* Cookie: p_uin=(o+your QQ number) p_skey=(prove your login password, obtain the method by Baidu) {'uin':(your QQ number),'frd_uin':(other QQ number)}

上記の括弧内の部分は、特定の状況に応じて交換する必要があります
送信後の応答には、次の3つのタイプがあります。



ラッキーキャラクターの獲得に成功:

HTTP/1.1 200 OK Date: time Content-Type: application/jsoncharset=UTF-8 Content-Length: 319 Connection: close X-Powered-By: TSW/Node.js Server: SSO 1.0 Cache-Control: no-cache Access-Control-Allow-Origin: https://ti.qq.com Access-Control-Allow-Credentials: true Mod-Map: proxy_domain {'card_id':'MTAwMDE2','card_word':'ZnJldW5kZQ==','card_url':'aHR0cDovL3NxaW1nLnFxLmNvbS9xcV9wcm9kdWN0X29wZXJhdGlvbnMvbGtjYXJkL2ZyZXVuZGUvMjUwLThAM3gucG5n','rpt_wording':['5oSP5Li65pyL5Y+L77yM5Lq655Sf5LqO5LiW5LiK5pyJ5Yeg5Liq55+l5bex77yM5aSa5bCR5Y+L6LCK6IO96ZW/5a2Y44CC'],'ActionStatus':'OK','ErrorCode':0,'ErrorInfo':''}

NULLを取得します

HTTP/1.1 200 OK Date: time Content-Type: application/jsoncharset=UTF-8 Content-Length: 195 Connection: close X-Powered-By: TSW/Node.js Server: SSO 1.0 Cache-Control: no-cache Access-Control-Allow-Origin: https://ti.qq.com Access-Control-Allow-Credentials: true Mod-Map: proxy_domain {'card_id':'OTAwMDAx','card_word':'bnVsbA==','card_url':'','rpt_wording':['5pyA5aW955qE5oC75piv5Zyo5pyA5ZCO77yM5piO5aSp5YaN5p2l6K+V6K+V5ZCn77yB'],'ActionStatus':'OK','ErrorCode':0,'ErrorInfo':''}

今日利用できるカードはありません

HTTP/1.1 200 OK Date: time Content-Type: application/jsoncharset=UTF-8 Content-Length: 125 Connection: close X-Powered-By: TSW/Node.js Server: SSO 1.0 Cache-Control: no-cache Access-Control-Allow-Origin: https://ti.qq.com Access-Control-Allow-Credentials: true Mod-Map: proxy_domain {'ActionStatus':'FAIL','ErrorCode':10005,'ErrorInfo':'[backend] no card to claim','WaterKeyInfo':'spp_oidb_server_107241091'}

NULLを取得すると、リクエストを送信し続ければ(約4〜5回)、ようやくラッキーキャラクターを獲得でき、取得したキャラクターはランダムに生成されます。キャラクターを取得すると、カードなしで返信が届きます。
PS:このリンク http://qweb.sinaapp.com/qqtool/newsid/ p_skeyが取得できるようです。テストされておらず、セキュリティは不明です。それを取得する安全な方法は、自分でパケットを取得し、QQスペースにログインすることです。