MCPcopy Create free account
hub / github.com/secdev/scapy / authent_received

Method authent_received

scapy/modules/krack/automaton.py:493–498  ·  view source on GitHub ↗
(self, pkt)

Source from the content-addressed store, hash-verified

491
492 @ATMT.receive_condition(WAIT_AUTH_REQUEST)
493 def authent_received(self, pkt):
494 # Avoid packet from other interfaces
495 if RadioTap not in pkt:
496 return
497 if Dot11Auth in pkt and pkt.addr1 == pkt.addr3 == self.mac:
498 raise self.AUTH_RESPONSE_SENT().action_parameters(pkt)
499
500 @ATMT.action(authent_received)
501 def send_auth_response(self, pkt):

Callers

nothing calls this directly

Calls 2

AUTH_RESPONSE_SENTMethod · 0.95
action_parametersMethod · 0.80

Tested by

no test coverage detected