decalage2 / exefilter

ExeFilter is an open-source tool and framework to filter file formats in e-mails, web pages or files. It detects many common file formats and can remove active content (scripts, macros, etc) according to a configurable policy.
http://www.decalage.info/exefilter
Other
66 stars 25 forks source link

Python2 deprecated #9

Open AndreaMonzini opened 1 year ago

AndreaMonzini commented 1 year ago

Hello, as Python 2 is deprecated, is Python 3 support planned ? For example in Arch Linux Python 2 was recently removed.

Use ghostscript / pdfwrite to flatten PDF is dangerous ? ( i read a lot of ghostscript vulnerabilities in the past )

I tried to use pdfclean.rb with Ruby but it doesn't work ( maybe i have the wrong version of Ruby ). I see that in Origami there is pdf2pdfa, is it different from the pdfclean.rb script ?

As alternative i am trying to use qpdf + pdfid -d ( to uncompress with qpdf and disarm javascript in pdfid with Python 3 ) I see often that ObjStm is more than zero, can ObjStm contain Javascrip or other code ?

I use often exefilter to clean PDF and it works very well :) Thank you ! Andrea