feat: implement packet sniffer with database integration and API endpoints
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user