From 26e04b87ee8ac1d28b899ee81ad6582d26b26766 Mon Sep 17 00:00:00 2001 From: S3Jensen Date: Mon, 12 May 2014 23:56:18 -0500 Subject: [PATCH] Create Screenshot.sh --- Screenshot.sh | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 Screenshot.sh diff --git a/Screenshot.sh b/Screenshot.sh new file mode 100644 index 0000000..a7198c4 --- /dev/null +++ b/Screenshot.sh @@ -0,0 +1,167 @@ +#!/bin/sh + +AppID=$1 + +echo ' + + iRET - iOS Reverse Engineering Toolkit + + + + + + + + +
+ + + + + +
Welcome to iRET
The iOS Reverse Engineering Toolkit
+ + + +
+

Below is the cached application screenshot.

+ +
+
' + + image=$(find /var/mobile/Applications/"$AppID"/Library/Caches -name '*.png' -type f) + display=$(base64 "$image") + + if [ -n "$image" ]; then + echo "" + else + echo "No Image Found" + fi + + echo '
+
+ +'