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', 'token_vector': [{'pos': 0, 'len': 31, 'count': 0, 'type': 115, 'str_open': 0, 'str_close': 39, 'val': b'http://testphp.vulnweb.com/main'}, {'pos': 49, 'len': 5, 'count': 0, 'type': 85, 'str_open': 0, 'str_close': 0, 'val': b'union'}, {'pos': 55, 'len': 6, 'count': 0, 'type': 69, 'str_open': 0, 'str_close': 0, 'val': b'select'}, {'pos': 62, 'len': 1, 'count': 0, 'type': 111, 'str_open': 0, 'str_close': 0, 'val': b'*'}, {'pos': 64, 'len': 4, 'count': 0, 'type': 107, 'str_open': 0, 'str_close': 0, 'val': b'from'}, {'pos': 69, 'len': 4, 'count': 0, 'type': 110, 'str_open': 0, 'str_close': 0, 'val': b'news'}, {'pos': 0, 'len': 0, 'count': 0, 'type': 0, 'str_open': 0, 'str_close': 0, 'val': b''}, {'pos': 0, 'len': 0, 'count': 0, 'type': 0, 'str_open': 0, 'str_close': 0, 'val': b''}]}
-
Check for Cross Site Scripting
>> libinjection.is_xss("http://testphp.vulnweb.com/index.php?name=guest<script>alert('attacked')</script>") {'is_xss': True, 'flag': 0}
License
Copyright (c) 2021 wzhvictor
Licensed under the GNU General Public License v3.
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
Built Distributions
File details
Details for the file libinjection-python-1.1.6.tar.gz
.
File metadata
- Download URL: libinjection-python-1.1.6.tar.gz
- Upload date:
- Size: 174.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f848d07421fb672439fb4552349548a74a9a169efa3e45a0f5703c9eed4710f |
|
MD5 | 24fef9817c58da057a1d13ca479f166e |
|
BLAKE2b-256 | e84d47ff80e671e3e80b31e2192ff3776b67bc7677c5a70754f655e9cc0499b4 |
File details
Details for the file libinjection_python-1.1.6-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 84.8 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7139686437fb05f21c0103397606b5640a79e2bc0631f6f66478c38365ef88f0 |
|
MD5 | fc49384878580e6a0178ed571467fda9 |
|
BLAKE2b-256 | d817174cc0c30829507635f10ab1e23d6c435c8f7e7762f445210627d8e05b34 |
File details
Details for the file libinjection_python-1.1.6-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 212.1 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f876b9781ac6922d6bbc6bb2a495c7089c1f592e924b47c5153b55e902e65f |
|
MD5 | de2a11a5c16dc7e9ad76b8a1f29ddeed |
|
BLAKE2b-256 | 280a2e9d9eda3c2f7d907c630e1cab0900870252b6de30dee5a9dacc5504e1d9 |
File details
Details for the file libinjection_python-1.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 208.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602a09280acc1a3fb8645ba4c8a95a7599c89fc679c37204aa6d5c2e2222b9a6 |
|
MD5 | cb0d543af2b78610d4954b13ad67bd9f |
|
BLAKE2b-256 | 59638a8120f76a581d729a39991c0ef8148f282d9208ff42316763e9064b3280 |
File details
Details for the file libinjection_python-1.1.6-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.0 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba63901ef77343c1b13cde41fed2d2f119cc35ae74cd390dc121ada2d3956529 |
|
MD5 | 48c9b23d690e7593590738eeacf738bd |
|
BLAKE2b-256 | 25e52f5c33813e067cd56838785608ccd38647997255f499d6cb6af64eace8a1 |
File details
Details for the file libinjection_python-1.1.6-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 85.8 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7994cee55268f25d8b02ce3b06897fdf9620b51c04ae02b45c3fd52e58dbab3f |
|
MD5 | cb266d4cce3f207be04aa1a165ac6cf8 |
|
BLAKE2b-256 | 91474a8303962a6824ad148d23b5d6d2e4c58f7079ac23f2784471f1dfd3c407 |
File details
Details for the file libinjection_python-1.1.6-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 85.5 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69924426f4146788512e7fe9ecaba77a981c3fe455fbc6fd5633d0719beed27a |
|
MD5 | ea1a85c9f4dbe84a8dce94ee911db034 |
|
BLAKE2b-256 | db7032fc235a26a6ee4f8d1170bd09db416b650e37b0210a12dd6f44bd403f62 |
File details
Details for the file libinjection_python-1.1.6-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 215.6 kB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d412d0be540b410c1b751dd2beeb303c3b6d5115bd2508b35ca196a92ed84c41 |
|
MD5 | 851a260b06850a1fb3820a67eb88c770 |
|
BLAKE2b-256 | da4f1b5b87b1dd0c989d35fbd11e06f956f09f9cff668f42fbabd7eb431bcf48 |
File details
Details for the file libinjection_python-1.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 211.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d712ec203b39f8cfa23eaf33ffe8d03783b979f06a0b763ab697a0132faed59 |
|
MD5 | 1d78965fdf2cf1eaf510a472e2d406dd |
|
BLAKE2b-256 | c7b24416f467da884fe960ea4dd3b4ad5aeaf0d3fe17c3475456530c492bcee7 |
File details
Details for the file libinjection_python-1.1.6-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.5 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c48602505f7210bc99ea928ebd1aa9cbf1bd586d76a67d1c4eb0c5a6b767f669 |
|
MD5 | ab029974bf713422f666c53414fdbcdc |
|
BLAKE2b-256 | 3021699a59b1ea3363ea5a45a3d4813df0e174b73ab40e7be7a46512baaa55ca |
File details
Details for the file libinjection_python-1.1.6-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 86.2 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562c717c12fe7509702c8cc07a5e9efc3c991ebf87fc05e89eeb8b9c3bfc528b |
|
MD5 | f1dc3bd74f4703e6d77abfe3179e45ff |
|
BLAKE2b-256 | a52c0b914805d1c7266dedb85bd2c97894eacb5897a34892f5af02b51d542155 |
File details
Details for the file libinjection_python-1.1.6-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 85.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac51f5f77f6e8c4c58e804a497538a36f75ffd60c5c93a2b3561cec7a7708559 |
|
MD5 | a2b5ad2c62bfd32ce9bde3f9a21e4f83 |
|
BLAKE2b-256 | 5649fd2ce66afaee131c542d85a320d5bb3e3706a193c064fbfb97b8629e9da3 |
File details
Details for the file libinjection_python-1.1.6-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 219.7 kB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6527793f6b360d21d0139752b91e6b5a93710ba9cbd7e1e8b7b2da9d164a3b8d |
|
MD5 | 024ac2ab554d80a2cfb57f18062fcce0 |
|
BLAKE2b-256 | ad926eeecf07075b06168aa8981c1b3785bc2acb62910f98d3dbf6f436f0faa3 |
File details
Details for the file libinjection_python-1.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 213.7 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d30294031f5eeced20b47938b3c42761f4b6947419b57f2f4cadc054fed6b590 |
|
MD5 | 6a79deb587df4151abe130f2e49511ed |
|
BLAKE2b-256 | ebb8a233f9e5b65b18c6fadbec7ca805b53ac27068330c260d5e31ca8be2667f |
File details
Details for the file libinjection_python-1.1.6-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 87.6 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36908425c9f903ab098ec3528c0dd6a618c1e454a5e1dcc3880a96432b1374f7 |
|
MD5 | 6f62e073e1e5dfc05a3a31fb4046d6ad |
|
BLAKE2b-256 | 10a0e3c5c4c5d06f9b1b13e7d357a586d97b9e682a87bdd0f4c70004c15966de |
File details
Details for the file libinjection_python-1.1.6-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: libinjection_python-1.1.6-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 86.2 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b0e51f61b1ebf2d105faba8fdf75cef698ed8c3cd80abdbf0f050e203e5223 |
|
MD5 | 9ad5bf80f892be97f922b0bda17e986a |
|
BLAKE2b-256 | 2942293eaca3a1e114fe81eff5a51e7d8bfbab2c5bc2e11e400345fcd71b5fdf |