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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wafahell-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 825f37e8da5e485d5119c01fe96780d23261ac2df38c5604ad670b84ccf55e9c
MD5 9f95ebbd465fd569be4eba7b26773ba8
BLAKE2b-256 192893a431e48820bd7a48ccbbd6af1077cc3fdf00f3b505b3dac709a4f614a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wafahell-2.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4c7c5067805d3dc5ff0cb530202f322eb50fa1be5ebeafe1bda6b9f8a0faff
MD5 b04053e2e8b9275f97afe9e392826ef4
BLAKE2b-256 a5865b2711f8158d0d9624c275ac0dac5644ab74982b80095d3c865b59f08524

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