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.
Metadata
Release files for libinjection-python 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libinjection-python-1.1.6.tar.gz | 174.0 kB | Without provenance | Details for libinjection-python-1.1.6.tar.gz |
Built distributions (wheels)
Total release size: 2.2 MB
Release files / libinjection-python-1.1.6.tar.gz
| Download URL | libinjection-python-1.1.6.tar.gz |
|---|---|
| Size | 174.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f848d07421fb672439fb4552349548a74a9a169efa3e45a0f5703c9eed4710f
|
|
BLAKE2b-256 checksum How to use checksums |
e84d47ff80e671e3e80b31e2192ff3776b67bc7677c5a70754f655e9cc0499b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp310-cp310-win_amd64.whl
| Download URL | libinjection_python-1.1.6-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 84.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7139686437fb05f21c0103397606b5640a79e2bc0631f6f66478c38365ef88f0
|
|
BLAKE2b-256 checksum How to use checksums |
d817174cc0c30829507635f10ab1e23d6c435c8f7e7762f445210627d8e05b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp310-cp310-musllinux_1_1_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp310-cp310-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 212.1 kB |
| Tags | CPython 3.10 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
a5f876b9781ac6922d6bbc6bb2a495c7089c1f592e924b47c5153b55e902e65f
|
|
BLAKE2b-256 checksum How to use checksums |
280a2e9d9eda3c2f7d907c630e1cab0900870252b6de30dee5a9dacc5504e1d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 208.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
602a09280acc1a3fb8645ba4c8a95a7599c89fc679c37204aa6d5c2e2222b9a6
|
|
BLAKE2b-256 checksum How to use checksums |
59638a8120f76a581d729a39991c0ef8148f282d9208ff42316763e9064b3280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | libinjection_python-1.1.6-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 87.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ba63901ef77343c1b13cde41fed2d2f119cc35ae74cd390dc121ada2d3956529
|
|
BLAKE2b-256 checksum How to use checksums |
25e52f5c33813e067cd56838785608ccd38647997255f499d6cb6af64eace8a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 85.8 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
7994cee55268f25d8b02ce3b06897fdf9620b51c04ae02b45c3fd52e58dbab3f
|
|
BLAKE2b-256 checksum How to use checksums |
91474a8303962a6824ad148d23b5d6d2e4c58f7079ac23f2784471f1dfd3c407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp39-cp39-win_amd64.whl
| Download URL | libinjection_python-1.1.6-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 85.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
69924426f4146788512e7fe9ecaba77a981c3fe455fbc6fd5633d0719beed27a
|
|
BLAKE2b-256 checksum How to use checksums |
db7032fc235a26a6ee4f8d1170bd09db416b650e37b0210a12dd6f44bd403f62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp39-cp39-musllinux_1_1_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp39-cp39-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 215.6 kB |
| Tags | CPython 3.9 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
d412d0be540b410c1b751dd2beeb303c3b6d5115bd2508b35ca196a92ed84c41
|
|
BLAKE2b-256 checksum How to use checksums |
da4f1b5b87b1dd0c989d35fbd11e06f956f09f9cff668f42fbabd7eb431bcf48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 211.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2d712ec203b39f8cfa23eaf33ffe8d03783b979f06a0b763ab697a0132faed59
|
|
BLAKE2b-256 checksum How to use checksums |
c7b24416f467da884fe960ea4dd3b4ad5aeaf0d3fe17c3475456530c492bcee7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | libinjection_python-1.1.6-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 87.5 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c48602505f7210bc99ea928ebd1aa9cbf1bd586d76a67d1c4eb0c5a6b767f669
|
|
BLAKE2b-256 checksum How to use checksums |
3021699a59b1ea3363ea5a45a3d4813df0e174b73ab40e7be7a46512baaa55ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 86.2 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
562c717c12fe7509702c8cc07a5e9efc3c991ebf87fc05e89eeb8b9c3bfc528b
|
|
BLAKE2b-256 checksum How to use checksums |
a52c0b914805d1c7266dedb85bd2c97894eacb5897a34892f5af02b51d542155
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp38-cp38-win_amd64.whl
| Download URL | libinjection_python-1.1.6-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 85.5 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ac51f5f77f6e8c4c58e804a497538a36f75ffd60c5c93a2b3561cec7a7708559
|
|
BLAKE2b-256 checksum How to use checksums |
5649fd2ce66afaee131c542d85a320d5bb3e3706a193c064fbfb97b8629e9da3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp38-cp38-musllinux_1_1_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp38-cp38-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 219.7 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
6527793f6b360d21d0139752b91e6b5a93710ba9cbd7e1e8b7b2da9d164a3b8d
|
|
BLAKE2b-256 checksum How to use checksums |
ad926eeecf07075b06168aa8981c1b3785bc2acb62910f98d3dbf6f436f0faa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 213.7 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d30294031f5eeced20b47938b3c42761f4b6947419b57f2f4cadc054fed6b590
|
|
BLAKE2b-256 checksum How to use checksums |
ebb8a233f9e5b65b18c6fadbec7ca805b53ac27068330c260d5e31ca8be2667f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | libinjection_python-1.1.6-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 87.6 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
36908425c9f903ab098ec3528c0dd6a618c1e454a5e1dcc3880a96432b1374f7
|
|
BLAKE2b-256 checksum How to use checksums |
10a0e3c5c4c5d06f9b1b13e7d357a586d97b9e682a87bdd0f4c70004c15966de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / libinjection_python-1.1.6-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | libinjection_python-1.1.6-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 86.2 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
80b0e51f61b1ebf2d105faba8fdf75cef698ed8c3cd80abdbf0f050e203e5223
|
|
BLAKE2b-256 checksum How to use checksums |
2942293eaca3a1e114fe81eff5a51e7d8bfbab2c5bc2e11e400345fcd71b5fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for libinjection-python 1.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.