frida-dexdump icon indicating copy to clipboard operation
frida-dexdump copied to clipboard

impossble frida script inject

Open luckyguy89 opened this issue 2 years ago • 0 comments

After I did dump a package using frida-dexdump command and find new classes, I hooked new classes, but Frida said like "trace class failed Error: java.lang.ClassNotFoundException: Didn't find class "com.priguard.C4510KernelInstance" on path: DexPathList[[zip file "/data/app/com.ui-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ui-1/lib/x86, /data/app/com.ui-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]"

Hook code is: Java.perform(function (targetClass) { var hook; try { hook = Java.use(targetClass); } catch (e) { console.error("trace class failed", e); return; } }

Could anyone help me how to hook to com.priguard.C4510KernelInstance?

luckyguy89 avatar May 23 '22 15:05 luckyguy89