Created
November 7, 2020 09:44
-
-
Save dinosec/7a53d4ae9c8a0021cd9ede010ed00512 to your computer and use it in GitHub Desktop.
How to obtain the mobile device Android version from a Frida JS script
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
// How to obtain the mobile device Android version from a Frida JS script: | |
// | |
// (c) 2020 DinoSec (www.dinosec.com) | |
Java.perform(function () { | |
var version = androidVersion(); | |
console.log("Android version: " + version); | |
function androidVersion() { | |
return Java.androidVersion; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment