Skip to content

Instantly share code, notes, and snippets.

@khelwood
khelwood / decrypt_dbvis.py
Last active August 25, 2022 18:07 — forked from gerry/decrypt_dbvis.py
A quick hack to extract and decrypt credentials from DbVisualizer config files. Updated to Python 3.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# 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
#
# install lxml and pycryptodome
#