feat: implement packet sniffer with database integration and API endpoints
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2025-11-25 13:40:13 +01:00
parent be54e665c4
commit 689e8aa717
5 changed files with 141 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ from fastapi.middleware.cors import CORSMiddleware
import os
import src.Models.netplan as netplan
import src.network_api as network_api
import src.routes_sniffer as sniffer_router
from asyncio import subprocess
from fastapi import HTTPException
@@ -60,3 +61,4 @@ def nft_ruleset():
# ---------------------
app.include_router(network_api.router, prefix="/network", tags=["network"])
app.include_router(sniffer_router.router, prefix="/sniff")