From 67ea598ba5e5806276c6fa6aa6a483b834df7f01 Mon Sep 17 00:00:00 2001 From: terlancenablari <81357816+terlancenablari@users.noreply.github.com> Date: Tue, 13 Jul 2021 02:15:04 -0700 Subject: [PATCH] Latest Core Rule Set The OWASP ModSecurity Core Rule Set (CRS) has moved to https://github.com/coreruleset/coreruleset. So we also should change the URL address with the latest one. OLS and Lsws ent are both compatible with Core Rule Set. --- plogical/modSec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/modSec.py b/plogical/modSec.py index 779b273e1..08325ad49 100755 --- a/plogical/modSec.py +++ b/plogical/modSec.py @@ -416,7 +416,7 @@ modsecurity_rules_file /usr/local/lsws/conf/modsec/rules.conf if os.path.exists('owasp.tar.gz'): os.remove('owasp.tar.gz') - command = "wget https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.2/master.zip -O /usr/local/lsws/conf/modsec/owasp.zip" + command = "wget https://github.com/coreruleset/coreruleset/archive/v3.3.2/master.zip -O /usr/local/lsws/conf/modsec/owasp.zip" result = subprocess.call(shlex.split(command)) if result != 0: