yarabuilder:使用Python 3库构建YARA规则

时间:2024-04-24 22:22:22
【文件属性】:

文件名称:yarabuilder:使用Python 3库构建YARA规则

文件大小:24KB

文件格式:ZIP

更新时间:2024-04-24 22:22:22

python yara yara-rules Python

yarabuilder 用于创建Yara规则的Python模块。 安装 yarabuilder需要Python 3+: pip install yarabuilder 用法 创建和打印规则 >> > import yarabuilder >> > import pprint >> > >> > yara_builder = yarabuilder . YaraBuilder () >> > >> > yara_builder . create_rule ( "my_rule" ) >> > yara_builder . add_meta ( "my_rule" , "description" , "Generated by yarabuilder" ) >> > yara_builder . add_import ( "my_rule" , "pe" ) >> > yara_buil


【文件预览】:
yarabuilder-master
----README.rst(4KB)
----examples()
--------README.rst(88B)
--------get_rule_names_from_builder.py(526B)
--------create_rule_and_print_rule.py(777B)
--------create_multiple_rules.py(535B)
----LICENSE(1KB)
----setup.py(623B)
----yarabuilder()
--------__init__.py(99B)
--------yararule.py(30KB)
--------yarabuilder.py(14KB)
----docs()
--------source()
--------make.bat(764B)
--------Makefile(638B)
----tests()
--------tests_yarabuilder.py(11KB)
--------__init__.py(0B)
--------tests_yararule.py(35KB)
----.readthedocs.yml(314B)
----.gitignore(2KB)

网友评论