hillu / go-yara

Go bindings for YARA
BSD 2-Clause "Simplified" License
350 stars 112 forks source link

feat: expose xor_key #138

Closed secDre4mer closed 6 months ago

secDre4mer commented 7 months ago

Add a method to get the xor_key from a C-YARA match.

@hillu should MatchString also be adjusted accordingly? I'm a bit hesitant about that because this field is not relevant for most matches.

hillu commented 6 months ago

MatchString also be adjusted accordingly

Sure, why not. Just add it, I'll merge the changes together.