Write a script to guess password of encrypted LUKS USB drive by testing passwords from file

I have an USB hard drive which contains an encrypted Linux LUKS partition whose password I have forgotten. However, I have a list of possible passwords as a text file. One password candidate per line. There are about 100 password candidates in this file.

I need you to write a script I can run in Linux that will try to open the USB hard drive, which is at /dev/sde1, using each of the passwords from the given file until the correct password is found or all of the passwords have been tested and none of them is correct.

The script could be made in any scripting language you want but Perl would be preferred.

Skills: Linux, Perl, Shell Script

See more: hashcat luks, bruteforce luks, how to configure encrypted storage with luks using exportable keys instead of passphrases, automatically unlock luks encrypted drives with a keyfile, luks keyfile, john the ripper luks, luks boot without password, forgot luks password, autorun programs usb drive, write script automatically reset dsl modem, autorun usb drive working, vb6 usb drive autorun, set auto run usb drive, usb drive cant autorun, delete autorun usb drive mac, delphi usb drive, write script list domain users login days months, flash file pop usb drive, detect usb drive number delphi, custom usb drive cases

About the Employer:
( 607 reviews ) Turku, Thailand

Project ID: #17758253

Awarded to:


Hello, I have a ready to use script. As soon as you hire me, I send you the link containing the file. It's a shell script already tested on Linux. Only 1 dependency(available by apt install). Usage instructions in file More

$25 USD in 1 day
(1 Review)