Skip to content

Instantly share code, notes, and snippets.

@CampinCarl
CampinCarl / Readme.md
Last active April 13, 2023 07:02
OpenVPN-GUI Replace Windows System Tray Icons

OpenVPN-GUI Replace Windows System Tray Icons

As of this writing, the OpenVPN-GUI system tray icon is very similar to the Windows 10 wired network icon, making it difficult to distinguish the two at a glance. This gist provides color swapped versions of the default OpenVPN icon to match the three (3) connection states, i.e., disconnected, connecting, and connected.

![Icons]

Using a resource editor, the user can modify their copy of the

@CampinCarl
CampinCarl / example.py
Created February 9, 2022 19:55
Example of SSLyze based scan that results in a ValidationError
from pathlib import Path
from sslyze import (
Scanner,
ServerScanRequest,
SslyzeOutputAsJson,
ServerNetworkLocation,
ScanCommandAttemptStatusEnum,
ServerScanStatusEnum,
ServerScanResultAsJson,
@CampinCarl
CampinCarl / gist:d26f92dd7dde8d06252754e98aac2189
Created May 30, 2018 19:52
Unwrap Key Error - sc-hsm-tool
C:\>sc-hsm-tool.exe --unwrap-key wrap-key.bin --key-reference 10 -vvv
P:5640; T:13384 2018-05-30 15:51:22.731 [sc-hsm-tool] sc.c:275:sc_detect_card_presence: called
P:5640; T:13384 2018-05-30 15:51:22.731 [sc-hsm-tool] reader-pcsc.c:411:pcsc_detect_card_presence: called
P:5640; T:13384 2018-05-30 15:51:22.731 Broadcom Corp Contacted SmartCard 0 check
P:5640; T:13384 2018-05-30 15:51:22.732 current state: 0x00010022
P:5640; T:13384 2018-05-30 15:51:22.732 previous state: 0x00010422
P:5640; T:13384 2018-05-30 15:51:22.732 card present
P:5640; T:13384 2018-05-30 15:51:22.732 [sc-hsm-tool] reader-pcsc.c:416:pcsc_detect_card_presence: returning with: 1
P:5640; T:13384 2018-05-30 15:51:22.732 [sc-hsm-tool] sc.c:280:sc_detect_card_presence: returning with: 1
Using reader with a card: Broadcom Corp Contacted SmartCard 0