You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a maximum file size to scan is specified with the -z option, the -w option does not disable warnings about files skipped due to them being larger than the maximum file size.
To Reproduce
Download the latest x64 YARA windows binary
Run YARA against a folder that contains files larger than the specified maximum file size, for example, using PowerShell and specifying a 5MB size limit: .\YARA64.exe -w -r -z 5242880 -C .\rule_file.yar "C:\windows\temp"
Observe that warnings are produced, such as: skipping C:\windows\temp\file.msi (5525504 bytes) because it's larger than 5242880 bytes.
Expected behavior
It's expected that no warnings are produced because of the -w option.
Please complete the following information:
OS: Windows Server 2019
YARA version: 4.5.2 x64
Microsoft Visual C++ Redistributable version: v14.42.34438.00
Additional context
I have tried the following with no success:
The full option "--no-warnings"
Rearranging options
Thanks!
The text was updated successfully, but these errors were encountered:
Describe the bug
When a maximum file size to scan is specified with the
-z
option, the-w
option does not disable warnings about files skipped due to them being larger than the maximum file size.To Reproduce
.\YARA64.exe -w -r -z 5242880 -C .\rule_file.yar "C:\windows\temp"
skipping C:\windows\temp\file.msi (5525504 bytes) because it's larger than 5242880 bytes.
Expected behavior
It's expected that no warnings are produced because of the
-w
option.Please complete the following information:
Additional context
I have tried the following with no success:
Thanks!
The text was updated successfully, but these errors were encountered: