PDF-X-RAY-Lite/pdfxray lite

From aldeid
Jump to navigation Jump to search
You are here:
pdfxray_lite

Description

PDF X-RAY Lite is a program written by Brandon Dixon. It decodes the structure and content of a PDF document and generates a HTML report.

Usage

Syntax

Usage: python pdfxray_lite.py options 

Options

--version
show program's version number and exit
-h, --help
show this help message and exit
-f FILE, --file=FILE
file to build an object from
-d DIR, --dir=DIR
dir to build an object from
-r REPORT, --report=REPORT
create basic report

Example

The following command:

$ $ python pdfxray_lite.py -f /data/tmp/pdf1.pdf -r report
034c1aa7c84529a01b847cf08c8d51ed

Will generate a HTML report as follows:

$ ll
total 44
-rw-r--r-- 1 unknown unknown     0 janv. 14 18:48 jserror.log
drwxr-xr-x 2 unknown unknown  4096 janv. 14 18:42 lib
-rwxr-xr-x 1 unknown unknown  1553 janv. 14 18:43 pdfxray_lite.py
-rw-r--r-- 1 unknown unknown   946 janv. 14 18:36 README.rst
-rw-r--r-- 1 unknown unknown 28516 janv. 14 18:48 report034c1aa7c84529a01b847cf08c8d51ed_report.html
-rwxr-xr-x 1 unknown unknown  1725 janv. 14 18:36 swf_mastah.py

Here is an extract of the report:

Comments