Pylibinjection is a wrapper for the Libinjection library (https://github.com/client9/libinjection).
- Python 2.5 or later
- Python-dev (Python header files)
- Optional cython
$ apt-get install python-dev
$ pip install pylibinjection
$ python >>> import pylibinjection >>> pylibinjection.detect_sqli("anything' OR 'x'='x';")
Pylinjection embeds libinjection as a submodule, which means that you must clone the repo with the --recursive option:
$ git clone --recursive https://github.com/glastopf/pylibinjection.git
Copyright (C) 2013 Angelo Dell'Aera <[email protected]>
License: GNU General Public License, version 2 or later; see COPYING.txt included in this archive for details.