Skip to content

Instantly share code, notes, and snippets.

@scottlinux
scottlinux / keepass2john.py
Created February 23, 2017 18:38 — forked from HarmJ0y/keepass2john.py
Python port of John the Ripper's keepass2john - extracts a HashCat/john crackable hash from KeePass 1.x/2.X databases
#!/usr/bin/python
# Python port of keepass2john from the John the Ripper suite (http://www.openwall.com/john/)
# ./keepass2john.c was written by Dhiru Kholia <dhiru.kholia at gmail.com> in March of 2012
# ./keepass2john.c was released under the GNU General Public License
# source keepass2john.c source code from: http://fossies.org/linux/john/src/keepass2john.c
#
# Python port by @harmj0y, GNU General Public License
#
@scottlinux
scottlinux / gcbackup
Last active March 30, 2024 15:03
Google Cloud Nearline Backup Script
#!/usr/bin/env bash
#
# Backup selected directories to a GoogleCloud Nearline bucket
#
# Example daily cron:
# @daily /usr/local/bin/gcbackup >/dev/null
#
# Directories to backup to the cloud
dir=( "/home/stmiller/Documents" "/home/stmiller/Music" \