[关闭]
@jzp113 2017-03-06T09:55:20.000000Z 字数 945 阅读 975

无线合肥加密Api分析

安卓 破解 api


1.栏目ID

  1. {
  2. "errCode":0,
  3. "errMsg":"",
  4. "data":{
  5. "mtitle":"资讯",
  6. "clist":[
  7. {
  8. "id":"334",
  9. "title":"合肥",
  10. "pid":"406",
  11. "tj":"0",
  12. "is_show":"1",
  13. "can_reply":"0",
  14. "px":"1"
  15. },
  16. {
  17. "id":"424",
  18. "title":"安徽",
  19. "pid":"406",
  20. "tj":"0",
  21. "is_show":"1",
  22. "can_reply":"0",
  23. "px":"2"
  24. },
  25. {
  26. "id":"352",
  27. "title":"热点",
  28. "pid":"406",
  29. "tj":"0",
  30. "is_show":"1",
  31. "can_reply":"0",
  32. "px":"3"
  33. },
  34. {
  35. "id":"353",
  36. "title":"生活",
  37. "pid":"406",
  38. "tj":"0",
  39. "is_show":"1",
  40. "can_reply":"0",
  41. "px":"4"
  42. },
  43. {
  44. "id":"354",
  45. "title":"政务",
  46. "pid":"406",
  47. "tj":"0",
  48. "is_show":"1",
  49. "can_reply":"0",
  50. "px":"5"
  51. },
  52. {
  53. "id":"356",
  54. "title":"爱心公益",
  55. "pid":"406",
  56. "tj":"0",
  57. "is_show":"1",
  58. "can_reply":"0",
  59. "px":"7"
  60. }
  61. ]
  62. }
  63. }[
  64. Finished in 0.1s
  65. ]

2.获取栏目新闻列表

Post请求 http://citynews.2500city.com//api/news/newslist

body(Form形式)

2.1 替换栏目id(搜索334)

  1. %7B%22cid%22%3A%22334%22%2C%22uid%22%3A%220%22%2C%22city_id%22%3A%22340100%22%2C%22nickname%22%3A%22%22%2C%22page%22%3A%221%22%2C%22mobile%22%3A%22%22%7D

2.2 用php加密函数encode对data内容进行加密

2.3 发送POST请求

  1. data=xxxxxx...

2.4 解密response

运用PHP decode函数解密返回内容

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注