E
E
EVGENY T.2020-01-27 18:37:32
Java
EVGENY T., 2020-01-27 18:37:32

How to find out if a rar file is password protected?

Does anyone have experience reading the headers of rar files? It is necessary to find out whether a password is imposed on the archive or not programmatically using Java.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Shohruh Shaimardonov, 2020-01-27
@joeberetta

Too lazy, or did not help?
Similar question with SO

M
mayton2019, 2020-01-27
@mayton2019

rar has a console tool. It can be called something like this
$ rar -l <namefile>
And analyze the listing. There, most likely, there will be some kind of mark or symbol opposite each encrypted file.
It is indecent for the author to ask such a question without being prepared at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question