Hello,
Can somebody tell me how to cast a tcp packet to an ssl packet?
I tried these lines but i dont things they are completely right.
Struct ssl_record {
uint8_t type;
uint16_t version;
uint16_t length;
}
tcp = (struct tcp_hdr *)(ip + 1);
ssl = (struct ssl_record *)(tcp + 1);