File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,18 @@ For example:
17
17
18
18
# Capture network traffic
19
19
tshark -ni any -w capture.pcapng
20
-
20
+
21
21
# Perform a request to a HTTPS website, for example with curl
22
22
SSLKEYLOGFILE=keylogfile.txt curl https://wiki.wireshark.org/
23
23
24
24
# Merge the secrets in the Decryption Secrets Block part of the capture file
25
25
editcap --inject-secrets tls,keylogfile.txt capture.pcapng capture-with-secrets.pcapng
26
26
27
+ # It is also possible to live-capture with the keylogfile
28
+ # Option -V -O http displays packet details for (decrypted) HTTP
29
+ # Option -x displays hexadecimal data
30
+ tshark -ni any -f ' tcp port 443' -o tls.keylog_file:keylogfile.txt -V -O http -x
31
+
27
32
The keylogfile then looks like (for TLS 1.3):
28
33
29
34
.. code-block :: text
You can’t perform that action at this time.
0 commit comments