This file contains 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 doc_equations { | |
meta: | |
author = "Javier Rascon Mesa" | |
description = "Detects documents that contains equations" | |
strings: | |
$hdr_0 = {d0 cf 11 e0} | |
$hdr_1 = "{\\rt" ascii |
This file contains 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
dom = url.split('//')[-1] | |
dom = dom.split('/')[0] |