@jzp113
2016-09-26T08:58:01.000000Z
字数 1427
阅读 1161
安卓
逆向
注意:请求需要附加Header和body
Post请求 http://appnews.1234567.com.cn/api/AppService/Columns
Header
Content-Type:application/x-www-form-urlencoded
Content-Length:168
User-Agent:app-android-client_null
Host:appnews.1234567.com.cn
Connection:Keep-Alive
Accept-Encoding:gzip
body
&OSVersion=4.4.4&DeviceId=bf69a7a8d1c288c4523a4a193c70547f||557640150521953&AppVersion=4.3.1&key=a8eb1746-1375-8def-b5e8-fe369ee73d68&Plat=Android&MarketChannel=360Apps
提取返回json数据中id对于的栏目。
Post请求 http://appnews.1234567.com.cn/api/AppService/PagedInfoListByColumn 将Body中的ColumnId替换成第一步获取的值
Header
Content-Type:application/x-www-form-urlencoded
Content-Length:168
User-Agent:app-android-client_null
Host:appnews.1234567.com.cn
Connection:Keep-Alive
Accept-Encoding:gzip
body
&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
Post请求 http://appnews.1234567.com.cn/api/AppService/ArticleDetail
将code替换成第二步获取到Json数据中的code
.
Header
Content-Type:application/x-www-form-urlencoded
Content-Length:168
User-Agent:app-android-client_null
Host:appnews.1234567.com.cn
Connection:Keep-Alive
Accept-Encoding:gzip
body
&OSVersion=4.4.4&DeviceId=bf69a7a8d1c288c4523a4a193c70547f||557640150521953&AppVersion=4.3.1&Code=20160926667728595&key=a8eb1746-1375-8def-b5e8-fe369ee73d68&Plat=Android&MarketChannel=360Apps
提取返回数据中的ShareUrl