Closed takakiyo closed 2 years ago
@takakiyo Would you test v1.5.0 release?
With build from master I'm getting:
Skipping broken jar file \Hidden\Path for HiddenFileName.rar ('error in opening zip file')
@Menschomat Maybe it is not Resource adapter ARchive. If HiddenFileName.rar is WinRAR file, magic header starts like this:
Resource adapter ARchive is actually ZIP file. ZIP file should starts like this (0x50 0x4B ..):
@xeraph First of all, thanks for this great tool! You helped us a lot. I'll check this tomorrow, when I'm back in the office.
What about excluding WinRAR files from scanning? Getting a alot of these from those: Skipping broken jar file
@headman78 Would you create new issue for this?
RAR (Resource adapter ARchive) is a file type defined in Java EE spec, and it may contains Java code.
Please add
|| loweredPath.endsWith(".rar")
to scan RAR files.