First, I will describe how I use bkcrack:
I am using LINUX in the live version (Ubuntu 20.04.2.0 LTS). I downloaded the LINUX version of bkcrack from GITHUB and put the password file in this folder (bkcrack). Then I right clicked on the main bkcrack folder and chose the "open in terminal" option and typed the commands.
I would like to crack a password in a .zip file I created a few years ago and forgot my password. The compression algorithm is ZipCrypto Deflate.
There is only one file in MYFILE.zip - ABCD.pdf. I have an older copy of this PDF that is identical to the one that has a password of about 90%.
I tried to use BKCRACK. I opened the MYFILE.zip file in the HxD program and saw the header of the zip file in HEX format (50 4B 03 04) and the name ABCD.pdf in HEX format (41 42 43 44 2E 70 64 66) - offset 30. Thanks to this I have 12 bytes known text.
Then I used the command:
echo -n "ABCD.pdf" > plain.txt time bkcrack -C MYFILE.zip -c ABCD.pdf -p plain.txt -o 30 -x 0 504B0304 > 1.log & tail -f 1.log
Unfortunately the result is:
bkcrack: command not found real 0m0.220s user 0m0.078s sys 0m0.041s
Please help, am I doing something wrong? How do I run bkcrack on ubuntu?