1
0
Fork 0
cryptsetup/misc/dict_search
Daniel Baumann 309c0fd158
Adding upstream version 2:2.7.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 10:45:47 +02:00
..
crypt_dict.c Adding upstream version 2:2.7.5. 2025-06-21 10:45:47 +02:00
Makefile Adding upstream version 2:2.7.5. 2025-06-21 10:45:47 +02:00
README Adding upstream version 2:2.7.5. 2025-06-21 10:45:47 +02:00

Simple example how to use libcryptsetup
for password search.

Run: crypt_dict luks|tcrypt <device|image> <dictionary> [cpus]

luks|tcrypt specified device type (LUKS or TrueCrypt)

<device|image> is LUKS or TrueCrypt device or image

<dictionary> is list of passphrases to try
(note trailing EOL is stripped)

cpus - number of processes to start in parallel

Format of dictionary file is simple one password per line,
if first char on line is # it is skipped as comment.

For LUKS, you have it run as root (device-mapper cannot
create dmcrypt devices as nrmal user. Code need
to map keyslots as temporary dmcrypt device.)

For TrueCrypt devices root privilege is not required.