mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
On #1528 was added the support for macro expansion on @rx operator. The performance improvement suggested on the pull request was not thread safe, therefore removed. This patch adds a performance improvement on top of #1528. The benchmarks points to 10x faster results on OWASP CRS.
14 lines
282 B
Bash
Executable File
14 lines
282 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git owasp-v3
|
|
cd owasp-v3
|
|
git checkout v3.0.2 -b tag3.0.2
|
|
cd -
|
|
|
|
echo 'Include "owasp-v3/crs-setup.conf.example"' >> basic_rules.conf
|
|
echo 'Include "owasp-v3/rules/*.conf"' >> basic_rules.conf
|
|
|
|
echo "Done."
|
|
|