Skip to content

Instantly share code, notes, and snippets.

View YangHanlin's full-sized avatar
🤔
Getting familiar with Markdown programming

Yang Hanlin YangHanlin

🤔
Getting familiar with Markdown programming
View GitHub Profile
@YangHanlin
YangHanlin / ssh_chooser.py
Created December 14, 2020 04:56
SSH Chooser: A simple script to extract hosts from configuration file and produce a navigation page
#!/usr/bin/env python3
# Install package windows-curses (via PyPI) before use on Windows platforms
import curses
import os
import re
import sys
@YangHanlin
YangHanlin / README.md
Last active June 21, 2022 04:14
🦈 wireshark-tls.py: A simple wrapper script to work with decryption of TLS in Wireshark

wireshark-tls.py

A simple wrapper script to work with decryption of TLS in Wireshark using the (pre-)master secret.

$ wireshark-tls.py firefox/google-chrome/...
$ wireshark-tls.py curl -iL api.github.com

The script automatically sets the environment variable SSLKEYLOGFILE and launches the wrapped program. If no args are specified, the default shell ($SHELL on *nix or Git Bash/PowerShell/Windows PowerShell/Command Prompt on Windows) is launched.

@YangHanlin
YangHanlin / 📊 Weekly development breakdown
Last active June 27, 2024 00:53
📊 Weekly development breakdown
Python 9 hrs 12 mins █████████████▋░░░░░░░ 65.4%
Markdown 59 mins █▍░░░░░░░░░░░░░░░░░░░ 7.1%
SQL 55 mins █▎░░░░░░░░░░░░░░░░░░░ 6.5%
Bash 52 mins █▎░░░░░░░░░░░░░░░░░░░ 6.2%
Cheetah 43 mins █░░░░░░░░░░░░░░░░░░░░ 5.2%