Skip to content

Commit

Permalink
Update yara_analyzer.py - offset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nusantara-self authored Feb 28, 2025
1 parent b2760a4 commit 89a4d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/Yara/yara_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def check(self, file_path):
decoded_xor = is_xor_static_key(matched_text)

decoded_strings.append({
"offset": s[0],
"offset": s.offset,
"matched": matched_text,
"base64_decoded": decoded_b64 if decoded_b64 else "N/A",
"hex_decoded": decoded_hex if decoded_hex else "N/A",
Expand Down

0 comments on commit 89a4d93

Please sign in to comment.