There are various programs or scripts which check files for malicious code (i.e. as listed in this anonymity guide).
For example there’s pdfid.py blog post which takes a PDF file as an input, checks it for the presence of javascript, among other things, and outputs a simple list of what types of code has been detected in the PDF.
Is there a way to have a DispVM open a PDF and automatically run this script against the PDF? Or at least make the python script persistent in each new Disposable VM (i.e. each DispVM comes with ~/pdfid.py)? Could this script be configured to appear as an Application, and open a terminal with the command prompt preloaded like [user@DispVM ~]$ pdfid.py
– if this would require some coding, what would the pseudo-code be?
I know there’s pre-installed tools like the PDF linearizer, but being able to set up one’s own programs would be nice.
Thanks in advance.