Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
200 views
in Technique[技术] by (71.8m points)

android - cannot read property key of undefined in FRIDA

I am hooking an app now i m founding this error i have already tried many solutions one of which is following:

Java.perform(function() {
 
var main;
    Java.choose('ca.c.edu.char.g', {
                onMatch: function(instance) {
                    main = instance;
                },
                onComplete: function() {console.log(main.Key);}
            });

});
 

  

Here Key is a method i found after decompiling it with jadx-gui but it is not working ..Any help??

in the function Java.choose char is package and its class is g

question from:https://stackoverflow.com/questions/65879944/cannot-read-property-key-of-undefined-in-frida

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...