Re: Yara not scanning all file content

2023-08-22 Thread Fernando Mercês
Hello, have a look at the -z switch in yara command manual (*man yara* or here ). If you want to do this programmatically, you can just read the first 200KB of the file before passing it to libyara. ;) Best, On Tue, Aug 22, 2023 at 9:34 

Yara not scanning all file content

2023-08-22 Thread neslihan hanecioglu
Hi, During the file scanning, I do not want to examine after a certain size. For example, for a 100 mb file, I want to scan the first 200 kb and get its match result, Not scanning after 200kb. Wow can i achieve this with yara rule or python script. I wan to give full file to Yara and Yara not