x1ongzhu пре 1 година
родитељ
комит
fd8729e423
6 измењених фајлова са 718 додато и 894 уклоњено
  1. 4 2
      RcsHackTool.dex
  2. 6 6
      scripts/_spoof.js
  3. 350 439
      scripts/_spoof_gms.js
  4. 1 1
      scripts/spoof1.js
  5. 350 439
      scripts/spoof_gms.js
  6. 7 7
      vars.json

+ 4 - 2
RcsHackTool.dex

@@ -5,6 +5,7 @@ import path from 'path'
 import util from 'util'
 import Vorpal from 'vorpal'
 import { spawn, execSync } from 'child_process'
+import { setTimeout } from 'timers/promises'
 
 const filePath = url.fileURLToPath(import.meta.url)
 const __dirname = path.dirname(filePath)
@@ -201,7 +202,7 @@ class Tracer {
     }
 
     _onSessionDetached(reason) {
-        Log.w(`[PID ${this.pid}] onSessionDetached(reason='${reason}')`)
+        Log.i(`[PID ${this.pid}] onSessionDetached(reason='${reason}')`)
         const i = tracers.findIndex((tracer) => tracer.pid === this.pid)
         if (i !== -1) {
             tracers.splice(i, 1)
@@ -223,7 +224,7 @@ vorpal.sigint(function () {
     stop()
 })
 
-vorpal.command('clear [app]').action(function (args, callback) {
+vorpal.command('clear [app]').action(async function (args, callback) {
     try {
         const app = args.app
         if ('sms' === app) {
@@ -236,6 +237,7 @@ vorpal.command('clear [app]').action(function (args, callback) {
             execSync('adb shell pm clear com.google.android.gsf')
         } else if ('all' === app) {
             execSync('adb shell pm clear com.google.android.apps.messaging')
+            await setTimeout(1000)
             execSync('adb shell pm clear com.google.android.gms')
             pushFile('../gson.dex', '/sdcard/Android/data/com.google.android.gms/')
             pushFile('../gson.dex', '/sdcard/Android/data/com.google.android.apps.messaging/')

+ 6 - 6
scripts/_spoof.js

@@ -2,17 +2,17 @@ const mcc = '255'
 const mnc = '06'
 const simOperator = '25506'
 const networkOperator = '25506'
-const simSerialNumber = '53746721333158274240'
-const iccId = '53746721333158274240'
+const simSerialNumber = '52463878170561652433'
+const iccId = '52463878170561652433'
 const number = '739727133'
-const imei = '011546005933618'
-const imsi = '255065382718103'
+const imei = '352260057378931'
+const imsi = '255064887029478'
 const countryIso = 'ua'
-const subId = '57'
+const subId = '59'
 
 class Log {
     static TAG = '[SMS]'
-    static Debug = false
+    static Debug = true
     static format(...msg) {
         let m = []
         for (let i = 0; i < msg.length; i++) {

Разлика између датотеке није приказан због своје велике величине
+ 350 - 439
scripts/_spoof_gms.js


+ 1 - 1
scripts/spoof1.js

@@ -12,7 +12,7 @@ const subId = '{{subId}}'
 
 class Log {
     static TAG = '[SMS]'
-    static Debug = false
+    static Debug = true
     static format(...msg) {
         let m = []
         for (let i = 0; i < msg.length; i++) {

Разлика између датотеке није приказан због своје велике величине
+ 350 - 439
scripts/spoof_gms.js


+ 7 - 7
vars.json

@@ -3,13 +3,13 @@
     "mnc": "06",
     "simOperator": "25506",
     "networkOperator": "25506",
-    "simSerialNumber": "53746721333158274240",
-    "iccId": "53746721333158274240",
+    "simSerialNumber": "52463878170561652433",
+    "iccId": "52463878170561652433",
     "number": "739727133",
-    "imei": "011546005933618",
-    "imsi": "255065382718103",
+    "imei": "352260057378931",
+    "imsi": "255064887029478",
     "countryIso": "ua",
-    "subId": "57",
-    "androidId": "72339f12b75a2069",
-    "serialNumber": "7f6a4ad5"
+    "subId": "59",
+    "androidId": "50b4577c46ef5e96",
+    "serialNumber": "1955b056"
 }

Неке датотеке нису приказане због велике количине промена