forked from brettcs/dtrx
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
What happens:
dtrx doesn't error on missing passwords on rar archives. I have a password protected archive containing one file file1.txt. When trying to extract the file, I’ll get a password prompt (that will be killed immediately) and after that there is a dir password-protected that contains one empty file.
What I expect:
dtrx should print an error "cannot extract encrypted archive" (as when trying to extract other archive types).
How can you reproduce it:
- Create a password protected RAR archive containing a file
- Extract it in non-interactive mode
My log:
$ ls
password-protected.rar
$ dtrx -n password-protected.rar
Enter password (will not be echoed) for file1.txt: %
$ ls
password-protected password-protected.rar
$ ls password-protected
file1.txt
$ cat password-protected/file1.txt
$
Metadata
Metadata
Assignees
Labels
No labels