-
Notifications
You must be signed in to change notification settings - Fork 973
Installation
Leon Jacobs edited this page Jul 8, 2017
·
23 revisions
The installation of objection python component should be relatively simple. In fact, a simple git clone and pip install will suffice. Installing objection using only pip will be possible soon™.
Before continuing with the installation, make sure you have the following prerequisites met:
-
pythonversion 3.3+. Check your version with:python -V, upgrade/install using your distributions package manager. -
pipversion 9.0. Check your version with:pip --version, upgrade with:pip install pip --upgrade. - (optionally)
virtualenvversion 15+. Check your version with:virtualenv --version, upgrade/install with:pip install virtualenv --upgrade.
By 'native', we are referring to a non-virtualenv installation, where all of the objection dependencies will be installed in your operating systems module path. There is nothing wrong with this really, but some may prefer to have isolated environments for certain programs. If this is you, check out the next section.
-
Make sure your system meets the prerequisites detailed in the previous section.
-
Next, clone this repository:
git clone https://github.com/sensepost/objection.git- Once cloned,
cdto the newobjectiondirectory, and install the dependencies usingpip. We will also pass on the--editableflag (untilobjectionis uploaded to pypi) so that future updates are as simple as asgit pull:
cd objection/
pip install --editable .