Skip to content

Files

Latest commit

1683c1b · Sep 29, 2016

History

History
This branch is up to date with crits/crits_services:master.

pdfinfo_service

PDFInfo will parse a PDF file and generate rich metadata about the document. It
leverages the pdf-parser script from Didier Stevens.

http://blog.didierstevens.com/programs/pdf-tools/

How to upgrade PDF tools:
    PDF-Parser:
        Requires script to be renamed from pdf-parser.py to pdfparser.py
        cPDFDocument class needs to support StringIO:
            - self.infile = open(file, 'rb')
            + import io
            + self.infile = io.BytesIO(file)
    PDFid
        cBinaryFile class needs to support StringIO:
            - self.infile = open(file, 'rb')
            + import io
            + self.infile = io.BytesIO(file)