From cad03dc3b46be2988f126fad34e6b5761301de45 Mon Sep 17 00:00:00 2001 From: Gabor Gyorvari Date: Mon, 8 Jul 2024 17:55:38 +0200 Subject: [PATCH] Javascript sample update in #91 --- definitions/patterns_re.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/definitions/patterns_re.txt b/definitions/patterns_re.txt index e5ac012..3bb30b2 100644 --- a/definitions/patterns_re.txt +++ b/definitions/patterns_re.txt @@ -154,3 +154,9 @@ return @\$[a-z]{2}\d+\[\d+\]\(\$[a-z]{2}\d+\[\d+\], # htaccess alternating [a-z]{1}\([a-z]{1}\(\$[a-z]{2}\.'\/\.htaccess'\) + +# Javascript specific rules + +# JS - escaped command +\.fromCharCode\([0-9,]{4,}\) +\+-parseInt\(\w\('0x[0-9a-z]+'\)\)\/ \ No newline at end of file