OTA: Episode VII : The OTA awakens
Two simple enhancements: -v and -S, to make searching really effective
Jonathan Levin, (@Morpheus______), http://newosxbook.com/ - 12/01/2018
Using the search functionality more than ever on iOS 12 and HomePod OTAs (for which there are no IPSWs) made me realize I can extend search functionality greatly with a few more lines of code:
-sto also output the matching string. Useful when you get some partial match of a larger string and you have no idea what it is, and you then have to extract the file, only to realize, fud, it's not what you were looking for.
-vwill print up to -/+20 characters before/after the match, and highlight the match for you. You can change the 20 magic value by recompiling.
-Sto match the string as a suffix (in other words, ensure a NULL byte immediately after it). This dramatically reduces false positives if you are looking for a Mach service name, entitlement, etc
Other articles in seriesI
Episode VIII (the conclusion)