开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 50483|回复: 250
收起左侧

微信Post/Get的封包,论坛还没有发布

  [复制链接]
头像被屏蔽
结帖率:81% (17/21)
发表于 2014-4-19 03:11:17 | 显示全部楼层 |阅读模式   广东省东莞市
分享视频教程
教程类型: 无声教程
教程讲师: qq787209100
下载地址1: http://bbs.125.la/forum.php?mod=post&action=newthread&fid=51


以下是微信Post/Get的封包,如果能看懂这个,基本上你就可以做出来了,这是我用了2个月多研究出来的,现在忍心开放了
  1. 获取uuid

  2. https://login.weixin.qq.com/jslogin?appid=wx782c26e4c19acffb&redirect_uri=https%3A%2F%2Fwx.qq.com%2Fcgi-bin%2Fmmwebwx-bin%

  3. 2Fwebwxnewloginpage&fun=new&lang=zh_CN&_=1388994062250




  4. 获取二维码

  5. https://login.weixin.qq.com/qrcode/+uuid+?t=webwx




  6. 等待扫描Get

  7. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975894359

  8. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975873359

  9. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975883859




  10. 扫描了-返回

  11. window.code=201;

  12. 未扫描返回空




  13. 扫描之后-第一次请求成功

  14. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388975895453




  15. {"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, First Request Success, uuid:

  16. 454d958c7f6243"}]}




  17. 扫描之后-第二次请求开始

  18. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388975895453




  19. {"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, Second Request Start, uuid:

  20. 454d958c7f6243"}]}




  21. 等待确认Get

  22. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975895453

  23. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975900953

  24. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975906453

  25. https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975911953




  26. 手机确认-返回

  27. window.code=200;

  28. window.redirect_uri="https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?

  29. ticket=03f725a8039d418ab79c69b6ffbd771b&lang=zh_CN&scan=1388975896";

  30. 未确认返回空




  31. get 登陆获取Cookie

  32. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?

  33. ticket=03f725a8039d418ab79c69b6ffbd771b&lang=zh_CN&scan=1388975896&fun=new

  34. --设置Cookie 返回一个状态




  35. post 第二次请求成功

  36. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388976086218




  37. {"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, Second Request Success,

  38. uuid: 454d958c7f6243, time: 190765ms"}]}




  39. post 表示登陆成功-返回重要的数据key123

  40. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxinit?r=1388976086484




  41. {"BaseRequest":{"Uin":"750366800","Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"}}




  42. post 可能是获取列表

  43. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388976086734




  44. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":4,"List":[{"Key":1,"Val":620916854},

  45. {"Key":2,"Val":620917961},{"Key":3,"Val":620917948},{"Key":1000,"Val":1388967977}]},"rr":1388976086734}

  46. --这里的内容在上一步返回结果里




  47. post 可能是获取当前会话列表-大数据

  48. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetcontact?r=1388976086734




  49. {}




  50. post 可能是在手机上显示的提示信息

  51. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatusnotify?r=1388976086750




  52. {"BaseRequest":

  53. {"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"},"Code":3,"FromUserName":"langyeie","ToUser

  54. Name":"langyeie","ClientMsgId":"1388976086750"}




  55. get 获取头像图片

  56. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgeticon?seq=1388335457&username=langyeie




  57. get 同理可以获取其他微信好友的头像

  58. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgeticon?seq=620917759&username=wxid_xx3mtgeux5511




  59. post 更改什么状态?标记已读?

  60. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxbatchgetcontact?type=ex&r=1388976086812




  61. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"},"Count":10,"List":

  62. [{"UserName":"z_zer0v","ChatRoomId":3445229833},{"UserName":"huobao002","ChatRoomId":3445229833},

  63. {"UserName":"wxid_jo4qxoep4go411","ChatRoomId":3445229833},{"UserName":"jijunlong123456","ChatRoomId":3445229833},

  64. {"UserName":"wxid_toyaj4qwrynb21","ChatRoomId":3445229833},{"UserName":"wxid_6655286553012","ChatRoomId":3445229833},

  65. {"UserName":"wxid_rankrke1kkyd12","ChatRoomId":3445229833},{"UserName":"wxid_chcblpm846k022","ChatRoomId":3445229833},

  66. {"UserName":"tw297554396","ChatRoomId":3445229833},{"UserName":"wxid_3076050756212","ChatRoomId":3445229833}]}




  67. get headimg ?头像?

  68. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=620917806&username=3445229833@chatroom










  69. get 监听会话

  70. https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

  71. callback=jQuery18308660551080269895_1388975862078&r=1388976091937&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

  72. 4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976091937




  73. https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

  74. callback=jQuery18308660551080269895_1388975862078&r=1388976119062&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

  75. 4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976119078




  76. https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

  77. callback=jQuery18308660551080269895_1388975862078&r=1388976173375&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

  78. 4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976173390




  79. https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

  80. callback=jQuery18308660551080269895_1388975862078&r=1388976146265&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

  81. 4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976146265

  82. 正常返回结果

  83. window.synccheck={retcode:"0",selector:"0"}

  84. 有消息返回结果

  85. window.synccheck={retcode:"0",selector:"6"}

  86. 发送消息返回结果

  87. window.synccheck={retcode:"0",selector:"2"}

  88. 朋友圈有动态

  89. window.synccheck={retcode:"0",selector:"4"}







  90. 获取消息-post-设置Cookie

  91. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977398062




  92. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

  93. {"Key":2,"Val":620917978},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977392},

  94. {"Key":1000,"Val":1388967977}]},"rr":1388977398062}




  95. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977583250




  96. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

  97. {"Key":2,"Val":620917980},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977400},

  98. {"Key":1000,"Val":1388967977}]},"rr":1388977583250}




  99. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977660750




  100. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

  101. {"Key":2,"Val":620917982},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977585},

  102. {"Key":1000,"Val":1388967977}]},"rr":1388977660750}







  103. post 发送消息

  104. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsendmsg?sid=e75TXbI7TnKUevmI&r=1388977830140




  105. {"BaseRequest":

  106. {"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"D6EBA5FA425CAE258F24E75CF51F2E1B4EEA9C5338BE456C","DeviceID":"e519062714508

  107. 114"},"Msg":

  108. {"FromUserName":"langyeie","ToUserName":"pp80000","Type":1,"Content":"55","ClientMsgId":1388977830140,"LocalID":1388977830140

  109. }}




  110. https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977830390




  111. {"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

  112. {"Key":2,"Val":620917986},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977776},

  113. {"Key":1000,"Val":1388967977}]},"rr":1388977830390}


  114. get 有消息来,响铃

  115. https://res.wx.qq.com/zh_CN/htmledition/swf/msg17ced3.mp3

复制代码


发表于 2016-10-20 14:29:28 | 显示全部楼层   福建省厦门市
感谢楼主分享!
回复 支持 反对

使用道具 举报

结帖率:100% (4/4)
发表于 2016-8-5 12:07:29 | 显示全部楼层   河南省焦作市
感谢楼主分享!
回复 支持 反对

使用道具 举报

发表于 2016-8-4 13:25:00 | 显示全部楼层   河南省郑州市

留言下 学习下
回复 支持 反对

使用道具 举报

结帖率:100% (1/1)

签到天数: 12 天

发表于 2016-8-3 19:35:20 | 显示全部楼层   湖南省邵阳市
貌似现在不能用了
回复 支持 反对

使用道具 举报

结帖率:0% (0/1)
发表于 2016-8-3 18:58:42 | 显示全部楼层   浙江省台州市
谢谢分享..........
回复 支持 反对

使用道具 举报

结帖率:100% (1/1)

签到天数: 1 天

发表于 2016-8-3 18:57:39 | 显示全部楼层   江苏省徐州市
谢谢分享 用处不大
回复 支持 反对

使用道具 举报

发表于 2016-8-1 16:19:48 | 显示全部楼层   山东省潍坊市
然而并没有看懂
回复 支持 反对

使用道具 举报

发表于 2016-7-25 22:18:21 | 显示全部楼层   重庆市重庆市
留言下 学习下
回复 支持 反对

使用道具 举报

发表于 2016-5-8 19:19:05 | 显示全部楼层   北京市北京市
有什么用?
回复 支持 反对

使用道具 举报

结帖率:33% (1/3)
发表于 2016-5-7 15:15:46 | 显示全部楼层   江苏省连云港市
关注一下  
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表