Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
OWASP Python Security Project
Python C Shell
Branch: dev
Pull request Compare This branch is 4 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
doc
docs
pysec
tests
tools/pescan
.gitignore
CHANGES
LICENSE.txt
Makefile
README.md
TODO.txt
requirements-dev.txt
requirements.txt
setup.py

README.md

OWASP Python Security Project - PySec

Python Security is a free, open source, OWASP project that aims at creating a hardened version of python that makes it easier for security professionals and developers to write applications more resilient to attacks and manipulations.

The project is designed to explore how web applications can be developed in python by approaching the problem from three different angles:

  • Security in python: white-box analysis, structural and functional analysis
  • Security of python: black-box analysis, identify and address security-related issues
  • Security with python: develop security hardened python suitable for high-risk and high-security environments

Prerequisites

  • gcc, g++, make
    • ubuntu -> sudo apt-get install gcc g++ make
    • debian -> apt-get install gcc g++ make (as root)
  • build-essential
    • ubuntu -> sudo apt-get install build-essential
    • debian -> apt-get install build-essential (as root)
  • python-dev
    • ubuntu -> sudo apt-get install python-dev
    • debian -> apt-get install python-dev (as root)
  • zlib
    • ubuntu -> sudo apt-get install zlib1g-dev

Optional

Install

git clone https://github.com/ebranca/owasp-pysec.git
cd owasp-pysec/
python2.7 setup.py install

Test

cd tests/
python runall.py

Optional

Kyoto Cabinet

wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
tar zxvf kyotocabinet-1.2.76.tar.gz
cd kyotocabinet-1.2.76/
./configure
make
make check
make install

Kyoto Cabinet for Python 2.7

wget http://fallabs.com/kyotocabinet/pythonlegacypkg/kyotocabinet-python-legacy-1.18.tar.gz
tar zxvf kyotocabinet-python-legacy-1.18.tar.gz
cd kyotocabinet-python-legacy-1.18/
python setup.py install
ln -s /usr/local/lib/libkyotocabinet.so* /usr/lib/

Links

Something went wrong with that request. Please try again.