Skip to content

Commit

Permalink
Update writeup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
54toshi authored Oct 20, 2023
1 parent 51c4983 commit 10b3c0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions 2023_huntress_ctf/speakfriend/writeup.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ when you give it the given host you will notice in wireshark that it is sending
./main http://chal.ctf.games:32580
```

![tls_traffic_in_wireshark.png](tls_traffic_in_wireshark.png)

to view the decrypted TLS traffic set the $SSLKEYLOGFILE environment variable to a file where the private keys should be stored
```bash
touch /home/kali/key.txt
export SSLKEYLOGFILE=/home/kali/key.txt
```

then in wireshark go to "Edit -> Preferences -> RSA Keys -> Add new keyfile" and select the just created file. now the traffic is decrypted and viewable.
then in wireshark go to "Edit -> Preferences -> RSA Keys -> Add new keyfile" and select the just created file. now the traffic is decrypted and viewable (blue marked line points to flag):

![tls_traffic_in_wireshark.png](tls_traffic_in_wireshark.png)

## resources
https://wiki.wireshark.org/TLS
https://wiki.wireshark.org/TLS

0 comments on commit 10b3c0b

Please sign in to comment.