Skip to content

Commit

Permalink
yara fix to follow optimizations and best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
codeyourweb committed Jan 11, 2022
1 parent 7f62858 commit 5b15a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/example_rule_linux.yar
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ rule fastfinder_example{
$str5 = "Press 'h' for instructions"
$op = { ba 05 00 00 00 31 ff 4? 8d 35 ?? ?? ?? ?? e8 ?? ?? ?? ?? 4? 89 ee 4? 89 c7 e8 ?? ?? ?? ?? ba 05 00 00 00 31 ff 4? 8d 35 ?? ?? ?? ?? e8 ?? ?? ?? ??}
condition:
all of them and uint16(0) == 0x457f
uint16(0) == 0x457f and all of them
}
2 changes: 1 addition & 1 deletion examples/example_rule_windows.yar
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ rule fastfinder_example{
$str4 = "getaddrinfo"
$str5 = "/.nslookuprc"
condition:
all of them and uint16(0) == 0x5a4d
uint16(0) == 0x5a4d and all of them
}

0 comments on commit 5b15a9a

Please sign in to comment.