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.2.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.2-py3-none-any.whl (77.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wafahell-2.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d3b3e58342295eceb24af21292f6936b8043dde34d3a9bedb2d4d648f170b329
MD5 8ee096386e57f2727a97720976711b45
BLAKE2b-256 0793a8fdd3eb9a155f0e7d72d050ef62abac8d8a764d34d3cfe810f259e7d1ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wafahell-2.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2f72337ffde63edf94ed4503a51945cff3dd194c1533dadb34636749ed72849
MD5 5ebe57e49760cfeb94ec7ff35a0db0c9
BLAKE2b-256 88f610bbfdb28fb84d3c68889e728a69ca1f3fe01008e52bb5bc13f480a23639

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