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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wafahell-2.0.2-py3-none-any.whl
(77.5 MB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3b3e58342295eceb24af21292f6936b8043dde34d3a9bedb2d4d648f170b329
|
|
| MD5 |
8ee096386e57f2727a97720976711b45
|
|
| BLAKE2b-256 |
0793a8fdd3eb9a155f0e7d72d050ef62abac8d8a764d34d3cfe810f259e7d1ef
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2f72337ffde63edf94ed4503a51945cff3dd194c1533dadb34636749ed72849
|
|
| MD5 |
5ebe57e49760cfeb94ec7ff35a0db0c9
|
|
| BLAKE2b-256 |
88f610bbfdb28fb84d3c68889e728a69ca1f3fe01008e52bb5bc13f480a23639
|