[关闭]
@jzp113 2016-09-26T08:58:01.000000Z 字数 1427 阅读 1085

天天易基金分析

安卓 逆向


注意:请求需要附加Header和body

1.获取栏目id

Post请求 http://appnews.1234567.com.cn/api/AppService/Columns

Header

  1. Content-Type:application/x-www-form-urlencoded
  2. Content-Length:168
  3. User-Agent:app-android-client_null
  4. Host:appnews.1234567.com.cn
  5. Connection:Keep-Alive
  6. Accept-Encoding:gzip

body

  1. &OSVersion=4.4.4&DeviceId=bf69a7a8d1c288c4523a4a193c70547f||557640150521953&AppVersion=4.3.1&key=a8eb1746-1375-8def-b5e8-fe369ee73d68&Plat=Android&MarketChannel=360Apps

提取返回json数据中id对于的栏目。

2.获取栏目列表

Post请求 http://appnews.1234567.com.cn/api/AppService/PagedInfoListByColumn 将Body中的ColumnId替换成第一步获取的值

Header

  1. Content-Type:application/x-www-form-urlencoded
  2. Content-Length:168
  3. User-Agent:app-android-client_null
  4. Host:appnews.1234567.com.cn
  5. Connection:Keep-Alive
  6. Accept-Encoding:gzip

body

  1. &OSVersion=4.4.4&DeviceId=bf69a7a8d1c288c4523a4a193c70547f||557640150521953&key=a8eb1746-1375-8def-b5e8-fe369ee73d68&Plat=Android&MarketChannel=360Apps&ColumnId=19&AppVersion=4.3.1&PageIndex=1&PageSize=20

3.获取文章内容

Post请求 http://appnews.1234567.com.cn/api/AppService/ArticleDetail
将code替换成第二步获取到Json数据中的code.

Header

  1. Content-Type:application/x-www-form-urlencoded
  2. Content-Length:168
  3. User-Agent:app-android-client_null
  4. Host:appnews.1234567.com.cn
  5. Connection:Keep-Alive
  6. Accept-Encoding:gzip

body

  1. &OSVersion=4.4.4&DeviceId=bf69a7a8d1c288c4523a4a193c70547f||557640150521953&AppVersion=4.3.1&Code=20160926667728595&key=a8eb1746-1375-8def-b5e8-fe369ee73d68&Plat=Android&MarketChannel=360Apps

提取返回数据中的ShareUrl

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