fix: update API routes for sniffer and bridge operations for consistency
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s

This commit is contained in:
2025-11-27 15:26:55 +01:00
parent e951fed50d
commit ff411da6e5
4 changed files with 6 additions and 6 deletions

View File

@@ -127,7 +127,7 @@ def handle_packet(pkt, bridge: str):
"dst_ip": pkt[IP].dst if IP in pkt else None,
"protocol": pkt[IP].proto if IP in pkt else None,
"length": len(pkt),
"raw": bytes(pkt)
"raw": pkt.json()
}
asyncio.run_coroutine_threadsafe(db_insert_packet(pkt_info), async_loop)