Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@ATMT.state()
def ESTABLISHED(self):
pass
@ATMT.state()
def TLS13_WAITING_CERTIFICATE(self):
self.get_next_msg()
@ATMT.state()
def SYN_SENT(self):
pass
@ATMT.state()
def ADDED_CERTIFICATEVERIFY(self):
pass
@ATMT.state(error=1)
def ERROR(self, pkt):
split_bottom_up(UDP, TFTP, dport=self.my_tid)
return pkt[TFTP_ERROR].summary()
@ATMT.state()
def SSLv2_PREPARE_CLIENTHELLO(self):
pass
@ATMT.state()
def SSLv2_CLOSE_NOTIFY(self):
"""
There is no proper way to end an SSLv2 session.
We try and send a 'goodbye' message as a substitute.
"""
self.vprint()
self.vprint("Trying to send 'goodbye' to the client...")
@ATMT.state()
def RECEIVED_CLIENTFLIGHT1(self):
pass
@ATMT.state()
def tls13_RECEIVED_CLIENTFLIGHT2(self):
pass
@ATMT.state()
def SSLv2_WAITING_SERVERFINISHED(self):
self.get_next_msg()
raise self.SSLv2_RECEIVED_SERVERFINISHED()