User guide

The following parts of the documentation contains some background information about pysap, as well as some step-by-step instructions for installing, configuring and using pysap.

Installation

This section of the documentation covers the installation process of pysap.

Installation with pip

Installing pysap is simple with pip, just run the following command on a terminal:

$ pip install pysap

Some example scripts has additional required libraries:

Some of those extra libraries can be installed with pip running the following command:

$ pip install pysap[examples]

Manual installation

The tool relays on the Scapy version 2.3.3 library for crafting packets. To install the required libraries use:

$ pip install -r requirements.txt

Once you have downloaded pysap’s sources, you can install it easily using the Python’s setuptools script provided:

  1. python setup.py test
  2. python setup.py install

Scapy installation

  • For installing Scapy on Mac OSX, see some guidance here.
  • For installing Scapy on Windows, see some guidance here.