Skip to main content

A python CLI and wrapper for the WAFLABS API - https://waflabs.com/api/

Project description

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waflabs-1.0.3-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file waflabs-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: waflabs-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for waflabs-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7d33d59882e5385be282334608fbdcffd97a6f1f9fa0c9df0fb97e2d1dde4462
MD5 70348e3f6d50308eadd11d7d9e82dde6
BLAKE2b-256 726969e0f963dfa86f30d69cbc8e15583fd0efec7477ef7951f5cdfdf8cb0c3a

See more details on using hashes here.

Supported by

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