kimci86 / bkcrack

Crack legacy zip encryption with Biham and Kocher's known plaintext attack.
zlib License
1.68k stars 163 forks source link

If the name has contain any space then it will throw an error #129

Closed sachin6216 closed 3 months ago

sachin6216 commented 3 months ago
Screenshot 2024-08-01 at 15 25 12
kimci86 commented 3 months ago

You can put quotes around arguments that contain spaces or use an escape sequence starting with backslash. Otherwise it will be treated as separate arguments by your command line interpreter.

In this example:

bkcrack -C /Users/mac/Downloads/project.zip -c "Delhi project/IMG_20220828_025758.jpg" -p plain.txt

or

bkcrack -C /Users/mac/Downloads/project.zip -c Delhi\ project/IMG_20220828_025758.jpg -p plain.txt