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