tldr/pages/common/strings.md

21 lines
441 B
Markdown
Raw Permalink Normal View History

2015-12-30 22:22:13 +00:00
# strings
> Find printable strings in an object file or binary.
> More information: <https://manned.org/strings>.
2015-12-30 22:22:13 +00:00
- Print all strings in a binary:
2015-12-30 22:22:13 +00:00
`strings {{file}}`
- Limit results to strings at least *length* characters long:
2015-12-30 22:22:13 +00:00
`strings -n {{length}} {{file}}`
- Prefix each result with its offset within the file:
2015-12-30 22:22:13 +00:00
`strings -t d {{file}}`
- Prefix each result with its offset within the file in hexadecimal:
2015-12-30 22:22:13 +00:00
`strings -t x {{file}}`