mirror of https://github.com/CIRCL/PyCIRCLean
fix call pdfid
parent
25279e6b57
commit
5f080e7323
|
@ -308,7 +308,7 @@ class KittenGroomerFileCheck(KittenGroomerBase):
|
||||||
'''Way to process PDF file'''
|
'''Way to process PDF file'''
|
||||||
self.cur_file.add_log_details('processing_type', 'pdf')
|
self.cur_file.add_log_details('processing_type', 'pdf')
|
||||||
xmlDoc = PDFiD(self.cur_file.src_path)
|
xmlDoc = PDFiD(self.cur_file.src_path)
|
||||||
oPDFiD = cPDFiD(xmlDoc)
|
oPDFiD = cPDFiD(xmlDoc, True)
|
||||||
# TODO: other keywords?
|
# TODO: other keywords?
|
||||||
if oPDFiD.encrypt > 0:
|
if oPDFiD.encrypt > 0:
|
||||||
self.cur_file.add_log_details('encrypted', True)
|
self.cur_file.add_log_details('encrypted', True)
|
||||||
|
|
Loading…
Reference in New Issue