반응형
This file contains 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
frida -U -l hello-world.js android.process.media |
This file contains 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
setTimeout(function(){ | |
Java.perform(function(){ | |
console.log("hello world!"); | |
}); | |
}); |
This file contains 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
frida -U -l enumerate_classes.js android.process.media |
This file contains 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
setTimeout(function (){ | |
Java.perform(function (){ | |
console.log("n[*] enumerating classes..."); | |
Java.enumerateLoadedClasses({ | |
onMatch: function(_className){ | |
console.log("[*] found instance of '"+_className+"'"); | |
}, | |
onComplete: function(){ | |
console.log("[*] class enuemration complete"); | |
} | |
}); | |
}); | |
}); |
This file contains 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
setTimeout(function (){ | |
Java.perform(function (){ | |
console.log("n[*] enumerating bluetooth classes..."); | |
Java.enumerateLoadedClasses({ | |
onMatch: function(_className){ | |
if( _className.split(".")[1] == "bluetooth"){ | |
console.log("[*] found instance of '"+_className+"'"); | |
} | |
}, | |
onComplete: function(){ | |
console.log("[*] class enuemration complete"); | |
} | |
}); | |
}); | |
}); | |
~ |
This file contains 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
setTimeout(function (){ | |
Java.perform(function (){ | |
console.log("n[*] enumerating bluetooth classes..."); | |
Java.enumerateLoadedClasses({ | |
onMatch: function(_className){ | |
if( _className.split(".")[1] == "bluetooth"){ | |
console.log("[*] found instance of '"+_className+"'"); | |
} | |
}, | |
onComplete: function(){ | |
console.log("[*] class enuemration complete"); | |
} | |
}); | |
}); | |
}); | |
~ |
반응형
'debug > 0x01-frida' 카테고리의 다른 글
frida tutorials 실습 ][ functions (0) | 2020.06.17 |
---|---|
frida code review ][ 클래스 이름 가져오기 (0) | 2020.05.15 |