Skip to content

Commit

Permalink
Merge pull request #54 from TongchengOpenSource/feature-addHook
Browse files Browse the repository at this point in the history
Feature add hook
  • Loading branch information
ChnMig authored Dec 16, 2023
2 parents 0361629 + 97aab70 commit 41ac7d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions helper/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ function getSystemData() {
hook('android.provider.Settings$System', [
{'methodName': 'getString', 'args': ['android_id'], 'action': action, 'messages': '获取安卓ID'}
]);
hook('android.provider.Settings$NameValueCache', [
{'methodName': 'getStringForUser', 'action': action, 'messages': '获取安卓ID'},
]);
// hook('android.provider.Settings$NameValueCache', [
// {'methodName': 'getStringForUser', 'action': action, 'messages': '获取安卓ID'},
// ]);


hook('android.os.Build', [
Expand Down
6 changes: 3 additions & 3 deletions helper/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ function getSystemData() {
hook('android.provider.Settings$System', [
{'methodName': 'getString', 'args': ['android_id'], 'action': action, 'messages': '获取安卓ID'}
]);
hook('android.provider.Settings$NameValueCache', [
{'methodName': 'getStringForUser', 'action': action, 'messages': '获取安卓ID'},
]);
// hook('android.provider.Settings$NameValueCache', [
// {'methodName': 'getStringForUser', 'action': action, 'messages': '获取安卓ID'},
// ]);



Expand Down
2 changes: 1 addition & 1 deletion view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-scan",
"version": "2.1.3",
"version": "2.1.4",
"description": "自动化隐私检测工具",
"productName": "app-scan",
"author": "TongchengSecurityTeam <[email protected]>",
Expand Down

0 comments on commit 41ac7d9

Please sign in to comment.