tldr/pages/common/strings.md

20 lines
391 B
Markdown
Raw Normal View History

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