Commit 136e4c6a authored by steve's avatar steve

修改-改成文件上所需要的資料

parent a524ee3f
......@@ -59,38 +59,8 @@ public class HookSimBoxNotify implements IXposedHookLoadPackage {
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
String resultJson = new Gson().toJson(param.args[0]);
JSONObject jsonObject = new JSONObject(resultJson);
//可能會用到
String deviceType = jsonObject.getString("deviceType"); //因為是 android 所以字串為 ANDROID
String devsn = jsonObject.getString("devsn"); //手機裝置本身的 唯一碼
String imei = jsonObject.getString("imei"); //跟imei一樣
String userCode = jsonObject.getString("userCode"); //使用者的手機號碼
String partnerCode = jsonObject.getString("partnerCode"); //幾乎每個api都會帶到, 都是一樣的
String streamNo = jsonObject.getString("streamNo"); //這個最好是寫成程式碼, 打api時取得當下的時間形成字串
//可能不會用到或看不懂的
String autoLogin = jsonObject.getString("autoLogin");
String channelType = jsonObject.getString("channelType");
String clientId = jsonObject.getString("clientId");
String clientSecret = jsonObject.getString("clientSecret");
String countryCode = jsonObject.getString("countryCode");
String enterpriseCode = jsonObject.getString("enterpriseCode");
String ext = jsonObject.getString("ext");
String golcalmeAccount = jsonObject.getString("golcalmeAccount");
String hardwareVersion = jsonObject.getString("hardwareVersion");
String loginType = jsonObject.getString("loginType");
String mobileBrand = jsonObject.getString("mobileBrand");
String num = jsonObject.getString("num");
String password = jsonObject.getString("password");
String pushPlatform = jsonObject.getString("pushPlatform");
String sipType = jsonObject.getString("sipType");
String softVersion = jsonObject.getString("softVersion");
String systemVersion = jsonObject.getString("systemVersion");
String timestamp = jsonObject.getString("timestamp");
String token = jsonObject.getString("token");
String tokenType = jsonObject.getString("tokenType");
XPoseDebugUnit.xPoseLogInfo("resultJson=" + resultJson);
XPoseDebugUnit.xPoseLogInfo("imei=" + devsn);
super.beforeHookedMethod(param);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment