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