extract-tls-secrets | Decrypt HTTPS/TLS connections on the fly with Wireshark | TLS library
kandi X-RAY | extract-tls-secrets Summary
kandi X-RAY | extract-tls-secrets Summary
Decrypt HTTPS/TLS connections on the fly with Wireshark
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Program entry point
- Get tools file
- Attaches an agent
- Attaches a jar file to the classpath
- The main entry point
- Entry point for the agent
- Get the canonical path for the secrets file
- Open the base module
- Calculate the keys from the master cookie
- Writes secret
- Gets a field from a new object
- Convert a byte array to a hex string
- Launch the agent
- Returns true if the given class needs transformation
- Reload the classes
- Handles a master secret key
- Write a secret key to the context
- Perform the actual transformation
extract-tls-secrets Key Features
extract-tls-secrets Examples and Code Snippets
Community Discussions
Trending Discussions on extract-tls-secrets
QUESTION
I've been (successfully) looking at TLSv1.2 traffic in Wireshark via a key logfile. But I'd like to do something similar to TLSv1.3.
https://github.com/square/okhttp/pull/6060
This follows the approach described here https://security.stackexchange.com/questions/35639/decrypting-tls-in-wireshark-when-using-dhe-rsa-ciphersuites
I'm wondering if anyone has similar working with Java JSSE for TLSv1.3?
I know I need to log CLIENT_EARLY_TRAFFIC_SECRET, CLIENT_HANDSHAKE_TRAFFIC_SECRET, SERVER_HANDSHAKE_TRAFFIC_SECRET, CLIENT_TRAFFIC_SECRET_0 or SERVER_TRAFFIC_SECRET_0. But I'm not sure of the right hooks in JSSE.
Found prior art on https://wiki.wireshark.org/TLS#Using_the_.28Pre.29-Master-Secret
Specifically
https://github.com/neykov/extract-tls-secrets
and
...ANSWER
Answered 2020-May-23 at 15:06Found prior art on https://wiki.wireshark.org/TLS#Using_the_.28Pre.29-Master-Secret
Specifically
https://github.com/neykov/extract-tls-secrets
and
http://jsslkeylog.sourceforge.net/
For The github project, download https://repo1.maven.org/maven2/name/neykov/extract-tls-secrets/4.0.0/extract-tls-secrets-4.0.0.jar
Then run the following command before it attempts to connect. The sample program for OkHttp prints the PID and then has a 10 second delay for this reason.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install extract-tls-secrets
You can use extract-tls-secrets like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the extract-tls-secrets component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page