Skip to main content

Middleware WAF for Flask and FastAPI

Project description

WafaHell

Middleware WAF para Flask e FastAPI, com deteccao de SQL Injection e XSS.

Instalacao

pip install wafahell

Flask

from flask import Flask
from wafaHell import Wafahell

app = Flask(__name__)
waf = Wafahell(app=app, dashboard_path="/hell/dashboard")

FastAPI (auto-detect)

from fastapi import FastAPI
from wafaHell import Wafahell

app = FastAPI()
waf = Wafahell(app=app, dashboard_path="/hell/dashboard")

O framework e detectado automaticamente. Nos dois exemplos, o dashboard fica disponivel em /hell/dashboard.

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

wafahell-2.0.1.tar.gz (76.4 MB view details)

Uploaded Source

Built Distribution

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

wafahell-2.0.1-py3-none-any.whl (77.5 MB view details)

Uploaded Python 3

File details

Details for the file wafahell-2.0.1.tar.gz.

File metadata

  • Download URL: wafahell-2.0.1.tar.gz
  • Upload date:
  • Size: 76.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for wafahell-2.0.1.tar.gz
Algorithm Hash digest
SHA256 26120e76b96cdcdc19ec04f8e66119c3ec3b38f6a765e89f77389f247c677591
MD5 9a696daa1c252766cba8feb2396d407c
BLAKE2b-256 234a208bb6d23044b3a1774964ae713e0472622e349e6b383a1142e430c51c79

See more details on using hashes here.

File details

Details for the file wafahell-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: wafahell-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 77.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for wafahell-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ff58d2a50f5329004a573db21b684b098aa1f6e366d4340bc07a834b4009ee
MD5 97d4b37b90d21685f21ed05bb14b7851
BLAKE2b-256 2161e0f4e891e18c762019a784e62be2aa6148b7705adf34f51ade25d1eb88d5

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