View Single Post
Old 05-22-2023, 05:49 PM   #1
bulltricks
Enthusiast
bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!bulltricks rocks like Gibraltar!
 
Posts: 29
Karma: 100000
Join Date: May 2023
Device: Kindle family
newer Kindle firmware can't use 'awk', so jb hotfix fails

In the process of trying to install the jailbreak hotfix kit manually (to get the firmware update persistence), I ran into something rather strange.

Using a reverse shell on the Kindle, I attempted to execute the install / dispatch scripts ("Update" doesn't work because of the firmware version), and noticed a segmentation fault.

Attempting to investigate further leads to:

Running "awk -h" by itself results in a "Segmentation fault"
Running '/usr/bin/awk -h' or 'busybox awk -h' results in the expected output (showing command-line options
Running 'which awk' shows '/usr/bin/awk' , and as this is a busybox shell, there isn't a function overriding it (as far as I can tell)

While this points to a workaround (changing the scripts), I'm REALLY curious as to whats going on here
Especially since factory scripts use 'awk' (not /usr/bin/awk) and as far as I can tell, they don't hit these faults
bulltricks is offline   Reply With Quote