[Cialug] strings(1)

Todd Walton tdwalton at gmail.com
Thu Oct 15 17:23:54 UTC 2020


On Thu, Oct 15, 2020 at 11:02 AM Tim Wilson <tim_linux at wilson-home.com>
wrote:

> If the file has a data section, the default is to just scan that. You can
> do strings-a to scan the entire file.
>

I did not know that. Thank you.

On Thu, Oct 15, 2020 at 11:20 AM Dave Weis <djweis at sjdjweis.com> wrote:

> It may also be in unicode and strings is using ascii.
>

Hmm. Unclear. GNU strings man page says:

       -e encoding
       --encoding=encoding
           Select the character encoding of the strings that are to be
found.  Possible values for encoding are:
           s = single-7-bit-byte characters (ASCII, ISO 8859, etc.,
default), S = single-8-bit-byte characters,
           b = 16-bit bigendian, l = 16-bit littleendian, B = 32-bit
bigendian, L = 32-bit littleendian.
           Useful for finding wide character strings. (l and b apply to,
for example, Unicode UTF-16/UCS-2 encodings).

So I guess, yeah, I'd have to re-scan with the other encodings to check
that.

--
Todd


More information about the Cialug mailing list