From 1c0273bfb44938f4310025ce99fd50ef70758eb7 Mon Sep 17 00:00:00 2001 From: blacktop Date: Mon, 15 Jul 2024 21:40:34 -0600 Subject: [PATCH] docs: update CLI docs --- www/docs/cli/ipsw/dyld/str.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/www/docs/cli/ipsw/dyld/str.md b/www/docs/cli/ipsw/dyld/str.md index 931ebf478d..ef6b452744 100644 --- a/www/docs/cli/ipsw/dyld/str.md +++ b/www/docs/cli/ipsw/dyld/str.md @@ -11,14 +11,27 @@ description: Search dyld_shared_cache for string Search dyld_shared_cache for string ``` -ipsw dyld str [flags] +ipsw dyld str [STRING...] [flags] +``` + +### Examples + +```bash + # Perform FAST byte search for string in dyld_shared_cache + ❯ ipsw dsc str DSC "string1" + # Perform FAST byte search for multiple strings in dyld_shared_cache + ❯ ipsw dsc str DSC "string1" "string2" + # Perform FAST byte search for strings from stdin in dyld_shared_cache + ❯ cat strings.txt | ipsw dsc str DSC + # Perform SLOW regex search for string in dyld_shared_cache + ❯ ipsw dsc str DSC --pattern "REGEX_PATTERN" ``` ### Options ``` -h, --help help for str - -p, --pattern string Regex match strings + -p, --pattern string Regex match strings (SLOW) ``` ### Options inherited from parent commands