jesparza / peepdf

Powerful Python tool to analyze PDF documents
http://peepdf.eternal-todo.com
GNU General Public License v3.0
1.32k stars 242 forks source link

Fix Java Script Detection #78

Open Tholep opened 6 years ago

Tholep commented 6 years ago

I frequently use Peepdf to analyse PDF files. However, I often see false detection of Java script. Hence, I made some minor modifications to isJavascript() function to make it less sensitive.

Sample pdfs are also attached for your test.

FP_JS_detection.pdf peepdf_FP_JS.pdf