yara.scan
Description
Scan a file
Init
yara.scan(path string)
Fields
| ID | TYPE | DESCRIPTION |
|---|---|---|
| path | string | Path that should be scanned |
| source | string | Custom RuleSet source |
| rulesets | []string | RuleSet filter |
| rules | []string | Rule filter |
| result | []yara.matchRule | YARA scan results |