Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 yara 进行一些恶意软件检测
http://plusvic.github.io/yara/
问题是我想按文件对结果进行分组
我正在使用的当前命令行是:
$ yara -r rules.yar malware_folder
这是答案,因为我在其他地方找到了它
$ for i in $(find e/ -type f); 做 echo -n "$i,"; IFS=$'\n' yara rules.yar "$i" | 剪切-d''-f1 | tr -t \n ,; 回声; 完成 > 结果.csv