Skip to content

Instantly share code, notes, and snippets.

View spencerdavis2000's full-sized avatar

Spencer Davis spencerdavis2000

  • Chicago, IL
View GitHub Profile
@ffflorian
ffflorian / dislocker.sh
Last active November 1, 2020 03:31
Mount BitLocker drive with DisLocker
#!/bin/bash
HARDDRIVE=/dev/sdb2
BITLOCK_MOUNT=/media/bitlocker
DECRYPTED_MOUNT=/media/mount
USAGE="Usage: dislock [options]
Options:
-k, --recoverykey KEY The BitLocker recovery key to use for mounting
-u, --umount Unmount the mounted BitLocker volume