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.3.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.3-py3-none-any.whl
(77.5 MB
view details)
File details
Details for the file wafahell-2.0.3.tar.gz.
File metadata
- Download URL: wafahell-2.0.3.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 |
38e738abb584c1507c1c20a968b91fd1a8a836dddc837cfb111355b503129e89
|
|
| MD5 |
023665f607ccbd1dc39d542b732edb5c
|
|
| BLAKE2b-256 |
6930fc67ece359a4be09428d80d61feefc8bcc217c22ee575700905c9d77437d
|
File details
Details for the file wafahell-2.0.3-py3-none-any.whl.
File metadata
- Download URL: wafahell-2.0.3-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 |
b11d37e2e5e8c8aa3ddd700f1ee04c7ae9cad89ac37de4e7e2911b6b75df271c
|
|
| MD5 |
56f80f306ce7aea92eaff59f6db20cf9
|
|
| BLAKE2b-256 |
49aed743d10841fe868bf22d9db923bb2837cbb880050e003bc694a495516abb
|