mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-18 10:15:51 +00:00
Update owasp2caddy.py
This commit is contained in:
parent
8d7c8f0cff
commit
1e2ac851f5
@ -4,7 +4,7 @@ from collections import defaultdict
|
|||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
INPUT_FILE = "owasp_rules.json"
|
INPUT_FILE = "owasp_rules.json"
|
||||||
OUTPUT_DIR = "waf_patterns"
|
OUTPUT_DIR = "waf_patterns/caddy"
|
||||||
|
|
||||||
# Ensure output directory exists
|
# Ensure output directory exists
|
||||||
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user