tintinweb / scapy-ssl_tls

SSL/TLS layers for scapy the interactive packet manipulation tool
GNU General Public License v2.0
419 stars 156 forks source link

how can i control the condition to count how much TLS protocol packages #148

Closed always-raining closed 6 years ago

always-raining commented 6 years ago

how can i control the condition to count how much TLS protocol packages, and i also want to know how to extract some information in the ##SSL/TLS##, such as the length of the package. can anyone help me? thank you very much!

tintinweb commented 6 years ago

Hi @always-raining,

1) not sure what you are looking for. 2) this is scapy functionality. for details refer to the scapy documentation. e.g. this is how to get the tlsheartbeat length resp[TLSHeartBeat].length. works with any layer like: var[sublayer].attribute