zeltera commited on
Commit
b7287b9
·
verified ·
1 Parent(s): 2f9a5fe

Delete yara

Browse files
yara/__pycache__/generate.cpython-312.pyc DELETED
Binary file (726 Bytes)
 
yara/generate.py DELETED
@@ -1,19 +0,0 @@
1
- def generate_yara(result):
2
- indicators = result["indicators"]
3
-
4
- rule = f"""
5
- rule AutoGenerated_Malware {{
6
- meta:
7
- author = "MicroCyberLLM"
8
- confidence = "{result['confidence']}"
9
- strings:
10
- """
11
- for i, ind in enumerate(indicators):
12
- rule += f' $s{i} = "{ind}"\n'
13
-
14
- rule += """
15
- condition:
16
- any of them
17
- }
18
- """
19
- return rule