No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
InterceptingProxy
docs
tests
.gitignore
AUTHORS
CHANGELOG.md
CONTRIBUTING.rst
LICENSE
MANIFEST.in
PKGBUILD
PKGBUILD-git
README
README.md
TODO.md
purp.py
release
requirements.txt
setup.cfg
setup.py
setup_https_intercept.sh

README.md

Purp

PURPOSE

Creation of an Intercepting Proxy Script in Python 3 with an interpreter with basic command.

REQUIREMENTS

  • Python3
  • OpenSSL

Additional requirements:

  • Nmap
  • Nikto

INSTALLATION

  1. Install the python module needed

    pip -r install requirements.txt

  2. Install the local certificate:

    ./setup_https_intercept

    This script will create the necessary certificate but you need to install the certificate on the browser for launch purp.

  3. Activate the proxy on the browser configuration on the port 8080 using browser add-on (for example use foxyproxy with firefox browser)

  4. Now we need to add the certificate on the browser. Launch purp

    python purp.py

    Then visit the site

    http://purp.ca

    Allow the installation of the cerficate on the browser, it must be http and not https otherwise it will not intall the certificate on the browser.

USAGE

There are two different mode:

  1. Intercepting
  2. Sniffing

Launch purp

python purp.py

it will start the proxy in sniffing mode so you can see all the request and response. Use the command help for the list of command availaible in the interpreter.

If you want to launch purp in intercepting mode add the i flag.

python purp.py -i

The proxy will catch the request and you can decide to go on or modify the request and see the response in the console and on the browser.