import "time" rule year_2024 { condition: time.now() >= 1704067200 }
#100DaysofYARA
#100DaysofYARA
@xorhex @r0ny_123 @qutluch DO IT
BTW if you're looking for code examples from a fairly large production codebase that uses Nom: Suricata's rule parser and many of their protocol parsers are written with Nom: https://github.com/OISF/suricata/tree/master/rust/src