Files
This branch is up to date with crits/crits_services:master.
pdfinfo_service
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
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)