rulegen adding header comment to generated rules

This commit is contained in:
Michael Hunhoff
2021-01-20 15:22:56 -07:00
parent 271dc2a6a9
commit 34685bf80e

View File

@@ -78,6 +78,7 @@ class CapaExplorerRulgenPreview(QtWidgets.QTextEdit):
def load_preview_meta(self, ea, author, scope): def load_preview_meta(self, ea, author, scope):
""" """ """ """
metadata_default = [ metadata_default = [
"# generated using capa explorer for IDA Pro",
"rule:", "rule:",
" meta:", " meta:",
" name: <insert_name>", " name: <insert_name>",