微信網頁版訊息 抓包
【獲取全部聯絡人列表】
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetcontact?r=1388976086734
(每次登陸【FromUserName】、【ToUserName】都是變化的)
【微信網頁版訊息提示音】
https://res.wx.qq.com/zh_CN/htmledition/swf/msg17ced3.mp3
https://res.wx.qq.com/zh_CN/htmledition/swf/text17ced3.mp3
網頁版微信登陸:
瀏覽器中訪問
https://login.weixin.qq.com/jslogin?appid=wx782c26e4c19acffb&redirect_uri=https%3A%2F%2Fwx.qq.com%2Fcgi-bin%2Fmmwebwx-bin%2Fwebwxnewloginpage&fun=new&lang=zh_CN&_=1377482012272
返回結果:
window.QRLogin.code = 200; window.QRLogin.uuid = "787fef9712bd46";
獲取到結果中的uuid值,傳入下一個連結中。
訪問這個連結:
https://login.weixin.qq.com/qrcode/787fef9712bd46?t=webwx
返回二維碼:
手機掃描成功後
訪問連結:
https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=787fef9712bd46&tip=1&_=1377482045264
返回的結果:
window.code=200; window.redirect_uri="<strong>https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?ticket=80e3b62801bd4063ae6cf1928540da6d&uuid=787fef9712bd46&lang=zh_CN&scan=1434694049</strong>";
得到redirect_uri連結。
訪問redirect_uri連結即可成功登陸微信網頁版。
【關於傳送訊息】
必須要的幾個值。【sid】、【FromUserName】、【ToUserName】
其他引數(值)不需要更新。
【sid】在cookie中可以獲取。
【FromUserName】/【ToUserName】均在全部聯絡人列表中獲得。