Last active
March 25, 2019 11:37
-
-
Save rena2019/7a0810b3fac3b6aa4a5c7f8e3df938d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// start app: adb shell monkey -p rena2019.dummyapp 1 | |
// display pid: frida-ps -U | |
// run script: frida -U -p <pid> -l ./lst_classes.js | |
class_name = "rena2019.dummyapp" | |
if (Java.available) { | |
Java.perform(function () { | |
Java.enumerateLoadedClasses({ | |
onMatch: function(className){ | |
if (className.startsWith(class_name)) | |
console.log(className) | |
}, | |
onComplete:function(){ | |
} | |
}); | |
}); | |
} else { | |
send("Java not available in this process"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment