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