Created
July 26, 2021 16:03
-
-
Save pranjalAI/5803748d988369d389a682c126430700 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
import yara | |
rule = yara.compile(source='rule foo: bar {strings: $a = "lmn" condition: $a}') | |
matches = rule.match(data='abcdefgjiklmnoprstuvwxyz') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment