Barley net ticketing plug-in development

Barley net ticketing plug-in development

Buy plug-in development is the key point is to capture and calculate the x-sign.

Ethereal

Ethereal auxiliary plug see a treasure capture app to write plug-ins

Here Insert Picture Description
And a request header Po x-sign, x-umt, x-mini-wua, x-sgext same, different packet is requested, the request parameters multiple type, version, appType, channel_from, osType, souce and other parameters.

Analysis of x-sign, x-mini-wua, x-umt

Object doCommandNative(int code,Object[] args);

Xposed hook obtained by way of the respective parameters and return values, and write the corresponding calculation module.

Object doCommandRS = XposedHelpers.callMethod(JNICLibrary, "doCommandNative", byInput);

Write client calls search

String api = "mtop.damai.wireless.search.search";
String v = "1.0";
String ttid = "10005882@damai_android_7.6.7";
String t = (new Date().getTime() / 1000) + "";
String sUrl = "https://acs.m.taobao.com/gw/mtop.damai.wireless.search.search/1.0/";
...

Request returns

{"api":"mtop.alibaba.damai.detail.getdetail","data":{"result":"{\"detailViewComponentMap\"
...
},"ret":["SUCCESS::调用成功"],"v":"1.2"}
}

Guess you like

Origin www.cnblogs.com/super19911115/p/12116229.html