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
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