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
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user