Libinjection Python wrapper
Pylibinjection is a wrapper for the Libinjection library (https://github.com/client9/libinjection).
$ 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 <firstname.lastname@example.org>
License: GNU General Public License, version 2 or later; see COPYING.txt included in this archive for details.