Skip to main content
Latest Version

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)

Table of built distributions (wheels) for waflabs 1.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page