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

Method assoc_received

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

Source from the content-addressed store, hash-verified

516
517 @ATMT.receive_condition(AUTH_RESPONSE_SENT)
518 def assoc_received(self, pkt):
519 if Dot11AssoReq in pkt and pkt.addr1 == pkt.addr3 == self.mac and \
520 pkt[Dot11Elt::{'ID': 0}].info == self.ssid:
521 raise self.ASSOC_RESPONSE_SENT().action_parameters(pkt)
522
523 @ATMT.action(assoc_received)
524 def send_assoc_response(self, pkt):

Callers

nothing calls this directly

Calls 2

ASSOC_RESPONSE_SENTMethod · 0.95
action_parametersMethod · 0.80

Tested by

no test coverage detected