From 3d36ddbc1e7b34f24aadafa47930d184c8617c13 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 21 Feb 2019 10:51:05 +0100 Subject: [PATCH] fix: [CVE] fix stat regex --- bin/CVE_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/CVE_check.py b/bin/CVE_check.py index d8a83e0b..63f611de 100755 --- a/bin/CVE_check.py +++ b/bin/CVE_check.py @@ -61,7 +61,7 @@ if __name__ == '__main__': db=cfg.get("ARDB_Tags", "db"), decode_responses=True) - reg_cve = re.compile(r'CVE-[1-2]\d{1,4}-\d{1,5}') + reg_cve = re.compile(r'CVE-[1-2]\d{1,4}-\d{1,7}') #all_past_cve = serv_tags.smembers('infoleak:automatic-detection="cve"') #all_past_cve_regular = serv_tags.sdiff('infoleak:automatic-detection="cve"', 'infoleak:submission="crawler"')