Add YARA language (#3877)

* Add YARA language grammars

* Add YARA to languages.yml

* Add YARA samples

* Add YARA to README
This commit is contained in:
wesdawg
2017-11-15 20:16:33 -05:00
committed by Ashe Connor
parent 9dceffce2f
commit 8c516655bc
9 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
rule OfExample2
{
strings:
$foo1 = "foo1"
$foo2 = "foo2"
$foo3 = "foo3"
condition:
2 of ($foo*) // equivalent to 2 of ($foo1,$foo2,$foo3)
}
rule OfExample3
{
strings:
$foo1 = "foo1"
$foo2 = "foo2"
$bar1 = "bar1"
$bar2 = "bar2"
condition:
3 of ($foo*,$bar1,$bar2)
}