Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
HookNotify
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
steve
HookNotify
Commits
136e4c6a
Commit
136e4c6a
authored
Mar 16, 2022
by
steve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改-改成文件上所需要的資料
parent
a524ee3f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
31 deletions
+1
-31
HookSimBoxNotify.java
...main/java/com/go/hookNotify/xp/code/HookSimBoxNotify.java
+1
-31
No files found.
app/src/main/java/com/go/hookNotify/xp/code/HookSimBoxNotify.java
View file @
136e4c6a
...
...
@@ -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
);
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment