Update modSec.py

The latest version is 3.2
This commit is contained in:
terlancenablari
2021-07-10 08:08:15 -07:00
committed by GitHub
parent 288257c505
commit d20974825e

View File

@@ -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.0/master.zip -O /usr/local/lsws/conf/modsec/owasp.zip"
command = "wget https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.2/master.zip -O /usr/local/lsws/conf/modsec/owasp.zip"
result = subprocess.call(shlex.split(command))
if result != 0:
@@ -670,4 +670,4 @@ def main():
modSec.enableRuleFile(args.fileName, args.packName)
if __name__ == "__main__":
main()
main()