I tried to hook on Java Android class but when the application is spawn that class is not loaded yet.
So I got Error: java.lang.ClassNotFoundException: Didn't find class ....
I tried that code link
Java.perform(function x() {
var classFactory;
const classLoaders = Java.enumerateClassLoadersSync();
for (const classLoader in classLoaders) {
try {
console.log( classLoaders[classLoader]);
classLoaders[classLoader].findClass("com.a.b.c");
classFactory=Java.ClassFactory.get( classLoaders[classLoader]);
console.log("find !!!!" +classFactory);
break;
} catch (e) {
console.log("error " + e);
continue;
}
}
});
But that not help , if I will wait few seconds the class will load
How can I wait for that with Frida code ?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745203714a4616481.html
评论列表(0条)