【发布时间】:2016-05-09 14:44:38
【问题描述】:
我一直在阅读文档,但我一直很难弄清楚这一点。翻译会有很大帮助。
我在网上看到了 Yara 的这个示例 Perl 规则:
rule BadBoy
{
strings:
$a = "win.exe"
$b = "http://foo.com/badfile1.exe"
$c = "http://bar.com/badfile2.exe"
condition:
$a and ($b or $c)
}
你会如何用 Python 编写和编译这条规则?
【问题讨论】: