HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pdf-parser — Identify fundamental elements of a PDF file without rendering it. More information: <https://blog.di

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pdf-parsercommandfundamentalclipdffileelementsidentify

Problem

How to use the pdf-parser command: Identify fundamental elements of a PDF file without rendering it. More information: <https://blog.didierstevens.com/programs/pdf-tools/>.

Solution

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:
pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}


Display objects of a specific type (/Font, /URI, ...) in a PDF file:
pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}


Search for strings in indirect objects:
pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}

Code Snippets

Display statistics for a PDF file

pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}

Display objects of a specific type (`/Font`, `/URI`, ...) in a PDF file

pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}

Search for strings in indirect objects

pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}

Context

tldr-pages: common/pdf-parser

Revisions (0)

No revisions yet.