GithubHelp home page GithubHelp logo

ivan-sincek / pre-master-secret-key Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 3.0 52 KB

Set up all you need to capture pre-master secret keys to decrypt SSL in Wireshark.

License: MIT License

Batchfile 100.00%
batch environment-variables secret-keys decrypt-ssl decrypt-tls wireshark ethical-hacking security offensive-security defensive-security

pre-master-secret-key's Introduction

Pre-Master Secret Key

Just a simple Batch script that will help you set up all you need to capture pre-master secret keys to decrypt SSL in Wireshark.

Script will create SSLKEYLOGFILE environment variable and ssl-key.log file on your desktop.

Reference point was this article.

Tested with Wireshark v3.2.6 (64-bit) on Windows 10 Enterprise OS (64-bit).

Made for educational purposes. I hope it will help!

How to Run

Double click on the script or open the Command Prompt from \src\ and run the following command:

pre_master_secret_key.bat

Open Wireshark and go to Edit -> Preferences -> Protocols -> TLS and load the path to ssl-keys.log into (Pre-)Master-Secret log filename input filed.

Start recording network traffic.

If you suddenly cannot delete the log file even after closing the web browser, it is possible that some other program is still writing in the file, e.g OneDrive, Dropbox, etc.

Images

Run (Create)

Figure 1 - Run (Create)

Run (Remove)

Figure 2 - Run (Remove)

pre-master-secret-key's People

Contributors

ivan-sincek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.