fix: log captured packets in the packet parsing function
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:
@@ -133,6 +133,8 @@ def parse_packet(pkt, bridge: str):
|
|||||||
pkt_iface = getattr(pkt, "sniffed_on", None)
|
pkt_iface = getattr(pkt, "sniffed_on", None)
|
||||||
if not pkt_iface:
|
if not pkt_iface:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
logger.info(f"Packet captured", pkt.json())
|
||||||
|
|
||||||
ingress, egress = determine_direction(pkt_iface, bridge)
|
ingress, egress = determine_direction(pkt_iface, bridge)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user