Installation
Ryan Gerstenkorn edited this page May 4, 2021
·
15 revisions
Clone this wiki locally
Prerequisites
Tools for running Pacu
Pacu is a relatively simple program that requires Python 3 and pip to handle any module dependencies.
Installation
PyPi Installation (Recommended)
- Make sure pip is up to date.
pip install -U pip
- [Optional] Create a Python virtual environment to install Pacu in.
mkdir pacu && cd pacupython3 -m venv venv && source venv/bin/activate
- Install Pacu from PyPi
pip install -U pacu
Notes:
- When running ZSH you may need to run
rehashbefore the pacu command is made available. - If you create a virtual environment for pacu you'll need to run
source venv/bin/activatein the Pacu directory whenever you want to use it. Alternatively if you want to make Pacu available all the time you can simply skip this step, however you'll eitherneed to run the following pip command as root or ensure the pip user bin directory is included in your path (pip will have more instructions in the output if you install it this way and it isn't set up)
Installation from Git.
- Enter directory where you want to install Pacu.
- Run
git clone https://github.com/RhinoSecurityLabs/pacu.git - Install pip dependencies.
cd pacu && pip install -r requirements.txt
- You should be able to run
./cli.pyto start pacu.
Installation without Git
- Download the source as a zip file from https://github.com/RhinoSecurityLabs/pacu, and extract to
./pacu.curl "$(curl https://api.github.com/repos/RhinoSecurityLabs/pacu/releases/latest|grep zipball_url|awk '{print $2}'|tr -d '",') > pacu.zipmv RhinoSecurityLabs-pacu-7676225 pacu && cd pacu
- Install pip dependencies.
cd pacu && pip install -r requirements.txt
- You should be able to run
./cli.pyto start pacu.
More Info
For further instructions, refer to the Quick Start Guide