Aswith all similar programs, this technique returns a lot of garbage, but bstrings has plenty of command line switches to help. You're able to set a minimum and maximum string length. To look for ASCII/ Unicode strings only. To sort results alphabetically, or by length.
Not familiar with regular expressions? No problem, bstrings has some very useful presets. Entering bstrings -f file.exe --lr url3986 lists any URLs matching RFC 3986, and there are similar canned searches to find email, IP or MAC addresses, UNC paths, GUIDs, credit card numbers, US phone numbers, zip codes and more.
Add -s switch to suppress output to console. Useful when used with -o
Add --ro switch to show only the string that matches a regex vs. the entire string where the regex was found
Add --fs and --fr switches which allow for supplying a file containing search terms to look for (--fs) or a file containing regex patterns (--fr). Both files expect one search term/regex per line
You can set minimum and maximum lengths or even by alphabetically and where this is not unique in itself bstrings also has some additional features not found elsewhere such as regular expression searching, some useful built-in regex patterns, and string clean-up (trimming white space from the returned string), sorting. duplicate removal, and so on.
3a8082e126