From c7de59a0113b4b44b5d2b925382b36edcbcf29c4 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 4 Nov 2019 07:27:16 +0100 Subject: [PATCH] chg: [re] fixed typo in default regular expression --- bin/finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/finder.py b/bin/finder.py index 57b0c86..1b49d89 100644 --- a/bin/finder.py +++ b/bin/finder.py @@ -23,7 +23,7 @@ parser.add_argument("-o", type=str, help="Output format: [json]", default="json" parser.add_argument("-s", type=str, help="State of the commit found", default="under-review") args = parser.parse_args() -vulnpatterns = re.compile("(?i)(denial of service |\bXX E\b|remote code execution|\bopen redirect|OSVDB|\bvuln|\bCVE\b |\bXSS\b|\bReDoS\b|\bNVD\b|malicious|x−frame−options|attack|cross site |exploit|malicious|directory traversal |\bRCE\b|\bdos\b|\bXSRF \b|\bXSS\b|clickjack|session.fixation|hijack|\badvisory|\binsecure |security |\bcross−origin\b|unauthori[z|s]ed |infinite loop)") +vulnpatterns = re.compile("(?i)(denial of service |\bXXE\b|remote code execution|\bopen redirect|OSVDB|\bvuln|\bCVE\b |\bXSS\b|\bReDoS\b|\bNVD\b|malicious|x−frame−options|attack|cross site |exploit|malicious|directory traversal |\bRCE\b|\bdos\b|\bXSRF \b|\bXSS\b|clickjack|session.fixation|hijack|\badvisory|\binsecure |security |\bcross−origin\b|unauthori[z|s]ed |infinite loop)") if not args.r: parser.print_usage()