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
#!/usr/bin/env bash | |
# | |
# Build Frida DEB. | |
# register the cleanup function to be called on the EXIT signal | |
trap cleanup INT | |
####################################### | |
# Deletes the temp directory. | |
# Globals: |
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 iOS version from a Frida JS script: | |
// | |
// (c) 2020 DinoSec (www.dinosec.com) | |
if (ObjC.available) { | |
var version = iOSVersion(); | |
console.log("iOS version: " + version); | |
// return ObjC.classes.NSProcessInfo.processInfo().operatingSystemVersionString().toString(); |