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.

Source Distribution

libinjection-python-1.1.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

libinjection_python-1.1.0-cp36-cp36m-macosx_10_13_x86_64.whl (94.5 kB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

Details for the file libinjection-python-1.1.0.tar.gz.

File metadata

  • Download URL: libinjection-python-1.1.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for libinjection-python-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d5c512e22ec008ff249537ebee8534c496d16d260fbb8a69437757ddab584507
MD5 2b8d10c2383584e1a6950f5f9cf5f534
BLAKE2b-256 23ef00d2fdba9bc4100df77b4711abef494d232b4f879f5ea2bbb9181fa663c4

See more details on using hashes here.

File details

Details for the file libinjection_python-1.1.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: libinjection_python-1.1.0-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 94.5 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for libinjection_python-1.1.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 43a35b4956925a254bc19f6d2c0d3ff08622a271bc2fafeecd418fd558bbf050
MD5 decf461ab077b6b4077152d3db0ea103
BLAKE2b-256 7ed624e77136cea945ce8e351e4718bb93364c487a89e44d2ba931344cbefa2b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page