pdf-parser

Inspect PDF structure & embedded objects.

KaliParrotpassive

pkg: pdf-parser

pdf-parser dissects a PDF’s objects, streams and JavaScript to analyse malicious or suspicious documents.

Syntax

pdf-parser {file.pdf}

Example

pdf-parser -a doc.pdf

Summarises objects and flags JavaScript/launch actions.

Advantages
  • Reveals embedded JS/actions
  • Great for malware triage
Disadvantages
  • Manual analysis
  • PDF only
Tags
#pdf#malware

Official docs: pdf-parser

Related commands

Frequently asked questions

What is pdf-parser used for?
pdf-parser dissects a PDF’s objects, streams and JavaScript to analyse malicious or suspicious documents.
What is an example pdf-parser command?
A common example is: pdf-parser -a doc.pdf — Summarises objects and flags JavaScript/launch actions.
Is pdf-parser part of Kali Linux?
Yes. pdf-parser ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install pdf-parser.
What category of security tool is pdf-parser?
pdf-parser is a Forensics tool with a passive-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →