Last active
November 7, 2019 15:17
-
-
Save darkarnium/3b35176c09dc79b239ae836c98986ce1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule MyExample { | |
strings: | |
$a = /EXAMPLE[A-Z]{10}/ ascii wide nocase | |
$b = /EXAMPLE[A-Z]{5}KNOWN/ ascii wide nocase | |
condition: | |
for any i in (1..#a) : ( @a[i] != @b[i] ) | |
// for any i in (1..#a) : ( @a[i] == @a[i] ) | |
// any of them | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_______EXAMPLEAAAAAAAAAA____ | |
_______EXAMPLEAAAAAAAAAB____ | |
_______EXAMPLEAAAAAAAAAC____ | |
_______EXAMPLEAAAAAKNOWN____ | |
_______EXAMPLEABCDEFABCD____ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment