Thread: KOA2 KOA2 jail break
View Single Post
Old 11-29-2017, 11:04 AM   #72
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,858
Karma: 17951398
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
You can use the search bar command to run a script at the topmost level of visible USB storage.
The command is:
;log runme
The script must be named:
RUNME.sh
That name, the case as shown.

Using a plain text editor using Unix (Linux) line endings (not Windows line endings) create the file with the following contents (cut & paste should work):
Code:
#!/bin/sh

[ -f  "/etc/uks/pubdevkey01.pem"  ] && cp "/etc/uks/pubdevkey01.pem"  "/mnt/us/documents" || printf '%s\n' "DevKey not found" >"/mnt/us/documents/NotFound.txt"
If the device is still jail broken, you will have a copy of the public key in /documents.
If the device is not jail broken, you will have a copy of "NotFound.txt" personal document in /documents.
knc1 is offline   Reply With Quote