Installation - digitalsleuth/peepdf-3 GitHub Wiki

Installation

You can install via three methods:

  • From PyPI via pip - python3 -m pip install peepdf-3
  • From GitHub via pip and git - python3 -m pip install git+https://github.com/digitalsleuth/peepdf-3.git
  • Clone the GitHub repo, and from within the clone, run python3 -m pip install .

Note: To leverage the full capability of peepdf-3, you should install STPyV8 and pylibemu (which requires libemu). It is currently not possible to install libemu and pylibemu in Windows, so it will not be installed as a requirement in future builds, since this requirement is strictly for shellcode evaluation.

To use the "sctest" function with libemu and pylibemu in a Linux system, you can do the following:

git clone https://github.com/buffer/libemu.git
cd libemu
autoreconf -v -i
./configure --prefix=/opt/libemu
sudo make install
sudo python3 -m pip install pylibemu

Alternatively, peepdf-3 is part of the REMnux toolkit, and comes with STPyV8, libemu, and pylibemu.