Skip to content

Instantly share code, notes, and snippets.

@Skeeve
Skeeve / decrypt_dbvis.py
Created September 1, 2022 06:03 — forked from gerry/decrypt_dbvis.py
A quick hack to extract and decrypt credentials from DbVisualizer config files.
#!/usr/bin/env python
# decrypt_dbvis.py ~ gerry@twitter.com
# DbVisualizer uses PBEWithMD5AndDES with a static key to store passwords.
# This is a quick hack to extract and decrypt credentials from DbVisualizer config files.
# Tested against DbVisualizer Free 9.0.9 and 9.1.6
"""
[2014-03-25 02:05:30][not-the-sea workspace]$ security/p/gerry/misc/decrypt_dbvis.py
[+] DbVisualizer Password Extractor and Decryptor (@gerryeisenhaur)
[+] Additional Usage Options:
[+] security/p/gerry/misc/decrypt_dbvis.py <config filename>
@Skeeve
Skeeve / LC_COLORS.md
Created October 25, 2021 06:38 — forked from thomd/LC_COLORS.md
LSCOLORS & LS_COLORS

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black

@Skeeve
Skeeve / gist:cf596b335f6cb16f2762d1f95e297ccb
Created October 30, 2020 07:30
Mojo::Command usage using Pod::Usage
has usage => sub {
my $pod = '';
open my $printpod, '>', \$pod;
pod2usage(
-input => __FILE__,
-verbose => 1,
-exitval => 'NOEXIT',
-output => $printpod,
);
close $printpod;