This file contains hidden or 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
#!/bin/bash | |
for id in $(idevice_id -l); do | |
ideviceinfo_data=$(ideviceinfo -u $id) | |
product_type=$(echo "$ideviceinfo_data" | grep ProductType | sed 's/ProductType: //g') | |
# strip 'iPhone' or 'iPad' and the comma from the product type | |
short_product_type=$(echo "$product_type" | sed 's/iPhone//g; s/iPad//g; s/,//g' ) |
This file contains hidden or 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
#if 0 | |
// Fixed in iOS 13.1 with CVE-2019-8747 | |
__thiscall | |
AppleFirmwareUpdateKext::loadFirmware | |
(AppleFirmwareUpdateKext *this,IOMemoryDescriptor *Memory,void *off_0x10,uint off_0x18) | |
{ | |
uint uVar1; | |
byte addr; | |
byte len; |