Created
November 22, 2019 06:38
-
-
Save notsobad/10332b195ead40a25279c51c62fa566b to your computer and use it in GitHub Desktop.
过滤tls1.0的client hello数据包
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 过滤tls1.0的client hello数据包,参考https://www.netmeister.org/blog/tcpdump-ssl-and-tls.html | |
tcpdump -ni eth0 '((tcp[((tcp[12] & 0xf0) >>2)] = 0x16) && (tcp[((tcp[12] & 0xf0) >> 2)+1] = 0x03) && (tcp[((tcp[12] & 0xf0) >> 2)+9] = 0x03) && (tcp[((tcp[12] & 0xf0) >> 2)+10] = 0x01))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment