Skip to main content

Libinjection Python Wrapper

Project description

Libinjection-python

Libinjection-python is a wrapper based on Cython for the Libinjection library.

Libinjection Version: v3.10.0(Released on 22 May 2017)

Requirements

  • Python 2.7 or 3.4+
  • Cython module (install via pip)

Installation

pip install libinjection-python

Usage

  • Check for SQL Injection

    >> import libinjection
    >> libinjection.is_sql_injection("http://testphp.vulnweb.com/main.php?SmallClass=' union select * from news where 1=2 and ''='")
    {'is_sqli': True, 'fingerprint': 'sUEok'}
    
  • Check for Cross Site Scripting

    >> import libinjection
    >> libinjection.is_xss("http://testphp.vulnweb.com/index.php?name=guest<script>alert('attacked')</script>")
    True
    

License

Copyright (c) 2018 wzhvictor

Licensed under the GNU General Public License v3.

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for libinjection-python, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size libinjection_python-1.1.4-cp36-cp36m-macosx_10_13_x86_64.whl (86.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size libinjection-python-1.1.4.tar.gz (170.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page