Find printable strings in binary files
strings -a {all} -d {data} -f {print-file-name} -n {flag-n} --bytes {bytes} ๐ all ๐ data ๐ print-file-name ๐ flag-n ๐ bytes strings -a {all} -d {data} -f {print-file-name} -n {flag-n} --bytes {bytes} Sandbox: execFile · Timeout: 30s
system.file.strings system.file.search system.file.process system.file.copy system.file.move system.file.delete | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
all | string | No | - | Scan the entire file, not just the data section [default] | -a, --all |
data | string | No | - | Only scan the data sections in the file | -d, --data |
print-file-name | string | No | - | Print the name of the file before each string | -f, --print-file-name |
flag-n | string | No | - | Locate & print any sequence of at least <number> | -n |
bytes | integer | No | - | displayable characters. (The default is 4) | --bytes |
radix | string | No | - | Print the location of the string in base 8, 10 or 16 | -t, --radix |
include-all-whitespace I | string | No | - | Set the include-all-whitespace I parameter | -w, --include-all-whitespace I |
flag-o | string | No | - | An alias for --radix=o | -o |
target | string | No | - | Specify the binary file format | -T, --target |
encoding | string | No | - | s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit | -e, --encoding |
unicode | string | No | - | Set the unicode parameter | --unicode |
flag-U | string | No | - | Specify how to treat UTF-8 encoded unicode characters | -U |
output-separator | string | No | - | Set the output-separator parameter | -s, --output-separator |
help | string | No | - | Display this information | -h, --help |
version | string | No | - | Print the program's version number | -v, -V, --version |
Basic usage with all
strings ${all} Display help message
strings --help strings is a command-line utility for find printable strings in binary files.
strings -a {all} -d {data} -f {print-file-name} -n {flag-n} --bytes {bytes}