scapy.layers.tls.record_sslv2
SSLv2 Record.
- class scapy.layers.tls.record_sslv2.SSLv2(*args, **kargs)
Bases:
scapy.layers.tls.record.TLS
The encrypted_data is the encrypted version of mac+msg+pad.
- aliastypes
- do_dissect_payload(s)
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | PADLEN | MAC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | MSG | PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. SSLv2
SSLv2 fields len
_SSLv2LengthField
None
padlen
_SSLv2PadLenField
None
mac
_TLSMACField
b''
msg
_SSLv2MsgListField
[]
pad
_SSLv2PadField
b''
- post_build(pkt, pay)
- post_dissect(s)
SSLv2 may force us to commit the write connState here.
- pre_dissect(s)
- protected_record
- with_padding