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

Method wait_for_next_request

scapy/layers/smbserver.py:763–770  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

761
762 @ATMT.condition(RECEIVED_SETUP_ANDX_REQUEST)
763 def wait_for_next_request(self):
764 if self.authenticated:
765 self.vprint(
766 "User authenticated %s!" % (self.GUEST_LOGIN and " as guest" or "")
767 )
768 raise self.AUTHENTICATED()
769 else:
770 raise self.NEGOTIATED()
771
772 @ATMT.state()
773 def AUTHENTICATED(self):

Callers

nothing calls this directly

Calls 3

vprintMethod · 0.95
AUTHENTICATEDMethod · 0.95
NEGOTIATEDMethod · 0.95

Tested by

no test coverage detected