Skip to content

Instantly share code, notes, and snippets.

@rena2019
Last active March 25, 2019 11:37
Show Gist options
  • Save rena2019/7a0810b3fac3b6aa4a5c7f8e3df938d0 to your computer and use it in GitHub Desktop.
Save rena2019/7a0810b3fac3b6aa4a5c7f8e3df938d0 to your computer and use it in GitHub Desktop.
// 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