Co robi STRINGS użycie. Konsola characters long and followed by an unprintable character. Often.

Czy przydatne?

Polecenie strings

Wykonanie, użycie: Search each file specified and print any printable character strings found that are at least four characters long and followed by an unprintable character. Often used to find human-readable content within binary files

Opcje wykonania strings w konsoli

-, -a, --all

Scan entire object files; default is to scan only the initialized and loaded sections for object files.

-e encoding, --encoding=encoding

Specify the character encoding of the strings to be found. Possible values are:

b

16-bit big-endian

B

32-bit big-endian

l

16-bit little-endian

L

32-bit little-endian

s

Single-7-bit-byte characters, such as ASCII, ISO-8859, etc. (the default)

S

Single-8-bit-byte characters.

-f, --print-file-name

Print the name of the file before each string.

-min-len, -n min-len, --bytes=min-len

Print only strings that are at least min-len characters.

-o

The same as -t o.

-t base, --radix=base

Print the offset within the file before each string, in the format specified by base:

d

Decimal

o

Octal

x

Hexadecimal

--target=format

Specify an alternative object code format to the system default. Valid targets include elf32-i386, a.out-i386-linux, efi-app-ia32, elf32-little, elf32-big, srec, symbolsrec, tekhex, binary, ihex, and trad-core.

--help

Print help message and then exit. The help message includes a list of valid targets.

-v, --version

Print version information and then exit.

Przykłady strings działanie w Słownik polecenie S

Przykład STRINGS użycie :
Jak użyć TCP/IP command. Attach serial lines as network interfaces, thereby preparing them for use as point-to-point connections. Only a privileged user may attach or detach a network interface co znaczy.
Przykład STRINGS użycie :
Jak użyć options for the current standard input device. Without options, stty reports the terminal settings that differ from those set by running stty sane , where ^ indicates the Ctrl key and ^` indicates a krzyżówka.
Przykład STRINGS użycie :
Jak użyć Compute or check 160-bit SHA1 checksums to verify file integrity. If the file is not specified, or specified as - , read from standard input co to jest.
Przykład STRINGS użycie :
Jak użyć random-access file for storing strings. The input file should be a file containing groups of lines separated by a line containing a single percent sign (or other specified delimiter character słownik.
Przykład STRINGS użycie :
Jak użyć administration command. Set quotas from the command line. Provide limits in the format soft-block-limit hard-block-limit soft-inode-limit hard-inode-limit . To disable a quota, set it to 0 . See also czym jest.