def __init__(self, host=None, port=None, **kwargs): self.host = "127.0.0.1" self._server_info = None BaseModule.__init__(self, **kwargs) if host is not None: self.host = host if port is not None: self.port = port
def __init__(self, **kwargs): BaseModule.__init__(self, **kwargs)
def __init__(self, **kwargs): BaseModule.__init__(self, **kwargs) self.build_dtls_client_hello_hooks = RecordHook() self.parse_dtls_server_records_hooks = RecordHook() self.build_tls_client_hello_hooks = RecordHook() self.parse_tls_server_records_hooks = RecordHook() self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_cipher_suites, "cipher_suites") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_compression, name="compression") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_ec_point_formats, name="ec_point_formats") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_elliptic_curves, name="elliptic_curves") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_heartbeat, name="heartbeat") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_session_ticket, "session_ticket") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_signature_algorithms, name="signature_algorithms") self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_sni, name="sni") self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_certificate, name="certificate") self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_compression, name="compression") self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_point_formats, name="point_formats") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_cipher_suites, "cipher_suites") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_compression, name="compression") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_ec_point_formats, name="ec_point_formats") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_elliptic_curves, name="elliptic_curves") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_heartbeat, name="heartbeat") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_session_ticket, "session_ticket") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_signature_algorithms, name="signature_algorithms") self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_sni, name="sni") self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_certificate, name="certificate") self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_compression, name="compression") self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_point_formats, name="point_formats")
def __init__(self, **kwargs): BaseModule.__init__(self, **kwargs) self._rules = {}
def __init__(self, **kwargs): BaseModule.__init__(self, **kwargs) self.build_dtls_client_hello_hooks = RecordHook() self.parse_dtls_server_records_hooks = RecordHook() self.build_tls_client_hello_hooks = RecordHook() self.parse_tls_server_records_hooks = RecordHook() self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_cipher_suites, "cipher_suites" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_compression, name="compression" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_ec_point_formats, name="ec_point_formats" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_elliptic_curves, name="elliptic_curves" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_heartbeat, name="heartbeat" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_session_ticket, "session_ticket" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_signature_algorithms, name="signature_algorithms" ) self.build_dtls_client_hello_hooks.connect( self._hook_dtls_client_hello_sni, name="sni" ) self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_certificate, name="certificate" ) self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_compression, name="compression" ) self.parse_dtls_server_records_hooks.connect( self._hook_parse_dtls_server_hello_point_formats, name="point_formats" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_cipher_suites, "cipher_suites" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_compression, name="compression" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_ec_point_formats, name="ec_point_formats" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_elliptic_curves, name="elliptic_curves" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_heartbeat, name="heartbeat" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_session_ticket, "session_ticket" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_signature_algorithms, name="signature_algorithms" ) self.build_tls_client_hello_hooks.connect( self._hook_tls_client_hello_sni, name="sni" ) self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_certificate, name="certificate" ) self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_compression, name="compression" ) self.parse_tls_server_records_hooks.connect( self._hook_parse_tls_server_hello_point_formats, name="point_formats" )