GithubHelp home page GithubHelp logo

Comments (5)

vadimszzz avatar vadimszzz commented on August 27, 2024

Oh, looks like PR #64 already implements this!

from scapy-ssl_tls.

vadimszzz avatar vadimszzz commented on August 27, 2024

How to use it? Lack of information in readme

from scapy-ssl_tls.

vadimszzz avatar vadimszzz commented on August 27, 2024

@tintinweb @strizhechenko @exploide @googlebleh @ALSchwalm Can you provide any information about SSL decryption? You and another contributors have done great work but it looks like while your project supports PEM files to decrypt network traffic it doesn't support SSLKEYLOG files? Could you please help me to figure it out and take a look at #64 to advice what should I do to make it work with latest releases?

from scapy-ssl_tls.

googlebleh avatar googlebleh commented on August 27, 2024

have you tried installing ALSchwalm:master-secret and using the example?

diff --git a/examples/sessionctx_sniffer.py b/examples/sessionctx_sniffer.py
index 1baa972..dafae4c 100644
--- a/examples/sessionctx_sniffer.py
+++ b/examples/sessionctx_sniffer.py
@@ -139,7 +139,7 @@ class Sniffer(object):
         session = ssl_tls_crypto.TLSSessionCtx()
         if keyfile:
             print "* load servers privatekey for ciphertext decryption (RSA key only): %s"%keyfile
-            session.rsa_load_keys_from_file(keyfile)
+            session.load_secrets_from_file(keyfile)
             
             session.printed=False
             self.ssl_session_map[target]=session
$ python examples/sessionctx_sniffer.py <target-ip> <pcap> <sskeylogfile>

from scapy-ssl_tls.

vadimszzz avatar vadimszzz commented on August 27, 2024

have you tried installing ALSchwalm:master-secret and using the example?

…

Thanks, the problem is his fork is 5 years old, is there any ability to do this in latest versions? Or do you plan to add this feature? Or which part of the project should I modify to make it myself?

Anyway thanks to @ALSchwalm to make it possible at all!

I tried to merge ALSchwalm:master-secret into tintinweb:master but a lot has changed in 5 years and there is a git conflict. I can’t handle it due to lack of understanding.

from scapy-ssl_tls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.