"Fossies" - the Fresh Open Source Software Archive

Member "cryptsetup-2.4.3/misc/dict_search/README" (24 Jul 2021, 677 Bytes) of package /linux/misc/cryptsetup-2.4.3.tar.xz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Simple example how to use libcryptsetup
    2 for password search.
    4 Run: crypt_dict luks|tcrypt <device|image> <dictionary> [cpus]
    6 luks|tcrypt specified device type (LUKS or TrueCrypt)
    8 <device|image> is LUKS or TrueCrypt device or image
   10 <dictionary> is list of passphrases to try
   11 (note trailing EOL is stripped)
   13 cpus - number of processes to start in parallel
   15 Format of dictionary file is simple one password per line,
   16 if first char on line is # it is skipped as comment.
   18 For LUKS, you have it run as root (device-mapper cannot
   19 create dmcrypt devices as nrmal user. Code need
   20 to map keyslots as temporary dmcrypt device.)
   22 For TrueCrypt devices root privilege is not required.