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], name) for name in glob.glob(rules_dir + "/*.yara")]) rules = yara.compile(filepaths=sigs) Before checking any file, I want to see the names of every rule I successfully compiled. I'd love to have something like: for rule in rules.getNames(): print rule # badAss-1-rule # badAss-2-rule # ... # badAss-n-rule Any ideas? Thanks, Rob -- You received this message because you are subscribed to the Google Groups "YARA" group. To unsubscribe from this group and stop receiving emails from it, send an email to yara-project+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.