Upgraded to 0.2r183

parent 52c6c953
Patched peepdf to look under /usr/share/peepdf/ for the rest of the stuff it needs.
--- a/peepdf.py
+++ b/peepdf.py
@@ -28,6 +28,7 @@
'''
import sys, os, optparse, re, urllib2, datetime, hashlib
+sys.path.append("/usr/share/peepdf/")
from datetime import datetime
from PDFCore import PDFParser,vulnsDict
@@ -464,4 +465,4 @@ else:
console = PDFConsole(pdf, options.avoidColors)
console.cmdloop(stats + newLine)
elif fileName != None:
- print stats
\ No newline at end of file
+ print stats
Index: peepdf/peepdf.py
===================================================================
--- peepdf.orig/peepdf.py 2013-07-23 00:09:47.573086404 +0200
+++ peepdf/peepdf.py 2013-07-23 00:14:41.043742820 +0200
@@ -31,6 +31,8 @@
from datetime import datetime
from PDFCore import PDFParser,vulnsDict
+sys.path.append("/usr/share/peepdf/")
+
try:
from spidermonkey import Runtime
JS_MODULE = True
@@ -510,4 +512,4 @@
message += '\t- And/Or creating an issue on the project webpage (https://code.google.com/p/peepdf/issues/list)' + newLine
if COLORIZED_OUTPUT and not options.avoidColors:
message = errorColor + message + Style.RESET_ALL
- sys.exit(message)
\ No newline at end of file
+ sys.exit(message)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment