<reponame>arghya17/SecIotserver<filename>scripts/res/MobSF-master/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/get_loaded_classes.js<gh_stars>0/*
 * raptor_frida_android_enum.js - Java class/method enumerator
 * Copyright (c) 2017 Marco Ivaldi <envkt@example.com>
 *
*/
Java.perform(function() {
	var classes = Java.enumerateLoadedClassesSync();
	classes.forEach(function(aClass) {
		try{
			var className = aClass.match(/[L](.*);/)[1].replace(/\//g, ".");
			send('[AUXILIARY] ' + className);
		}
		catch(err){}
	});
});