yara-python 2.0 don't have the iterator for yara.Rules implemented. You can
upgrade to more recent version.
On Fri, Mar 4, 2016 at 2:50 PM, Wesley Shields wrote:
> I don't recall exactly when it was added but probably is in newer versions
> than what you have.
>
> -- WXS
>
>
I don't recall exactly when it was added but probably is in newer versions
than what you have.
-- WXS
On Friday, March 4, 2016, Robert Giczewski
wrote:
> yara 3.2.0
> yara-python 2.0
>
> Am Freitag, 4. März 2016 14:35:21 UTC+1 schrieb Wesley Shields:
>>
>> What
yara 3.2.0
yara-python 2.0
Am Freitag, 4. März 2016 14:35:21 UTC+1 schrieb Wesley Shields:
>
> What version of YARA are you using? That should work but I'm unable to
> confirm right now.
>
> -- WXS
>
> On Friday, March 4, 2016, Robert Giczewski > wrote:
>
>> That would
What version of YARA are you using? That should work but I'm unable to
confirm right now.
-- WXS
On Friday, March 4, 2016, Robert Giczewski
wrote:
> That would be too easy ;-)
>
> TypeError: 'yara.Rules' object is not iterable
>
>
> Am Freitag, 4. März 2016 13:59:11
Hi,
I'm currently loading quite a lot of files containing even more yara rules.
After loading the files, I'm compiling the rules so I can check files
against the rules. (see the code below)
print "[*] Loading rules (%s) ... " % (rules_dir)
sigs = dict([(name.replace(".yara", "").split("/")[-1],