2025-03-14 21:59:59 -06:00
|
|
|
# pdf-parser
|
|
|
|
|
|
|
|
|
|
> Identify fundamental elements of a PDF file without rendering it.
|
|
|
|
|
> More information: <https://blog.didierstevens.com/programs/pdf-tools>.
|
|
|
|
|
|
|
|
|
|
- Display statistics for a PDF file:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display objects of type `/Font` in a PDF file:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`pdf-parser {{[-t|--type]}} {{/Font}} {{path/to/file.pdf}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Search for strings in indirect objects:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}`
|