waflabs is a Python wrapper and CLI tool for the WAFLABS REST API.
Installation
$ pip install waflabs
CLI usage
$ waflabs test --url https://<your domain>/test.html --block-code 403 --waf modsecurity
To see all options run: $ waflabs –help
Module usage
from waflabs import waflabsapi
waflabs = waflabsapi.WAFLabsApi(access_id="1234", acess_key="abcd")
test_target = {"url": "https://waflabs.com/testme/",
"block_code": 406,
"waf": "modsecurity}
print(waflabs.testmywaf(test_target))
Metadata
Release files for waflabs 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| waflabs-1.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / waflabs-1.0.3-py2.py3-none-any.whl
| Download URL | waflabs-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7d33d59882e5385be282334608fbdcffd97a6f1f9fa0c9df0fb97e2d1dde4462
|
|
BLAKE2b-256 checksum How to use checksums |
726969e0f963dfa86f30d69cbc8e15583fd0efec7477ef7951f5cdfdf8cb0c3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.16
|