Skip to content

Instantly share code, notes, and snippets.

@castexyz
Last active January 19, 2018 14:48
Show Gist options
  • Save castexyz/8ab9ae04c3c55009420ad08ab4ac909f to your computer and use it in GitHub Desktop.
Save castexyz/8ab9ae04c3c55009420ad08ab4ac909f to your computer and use it in GitHub Desktop.
Hashcat Keepass
./keepass2john CrackThis.kdb > CrackThis.hash
The hashcat binary does not expect the name of our KeePass database to be pre-pended to our hash
so we will have to trim the string with a text editor;
hashcat --help | grep -i "KeePass"
-m 13400 => KeePass Hash Provided
-a 0 => Dictionary Attack
-w 1 => Low Latency Desktop Profile
./hashcat -m 13400 -a 0 -w 1 CrackThis.hash cracklib-words
- [ Workload Profiles ] -
# | Performance | Runtime | Power Consumption | Desktop Impact
===+=============+=========+===================+=================
1 | Low | 2 ms | Low | Minimal
2 | Default | 12 ms | Economic | Noticeable
3 | High | 96 ms | High | Unresponsive
4 | Nightmare | 480 ms | Insane | Headless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment