From aa58c0cb1dea24f131a56ae4cce37e360170fb57 Mon Sep 17 00:00:00 2001 From: vasco Date: Sun, 31 May 2026 19:30:39 +0100 Subject: [PATCH] kys3 --- SERVER.sh | 6 +++++- conf/httpd.conf | 2 -- conf/modsecurity.conf | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/SERVER.sh b/SERVER.sh index 296440d..6611de0 100644 --- a/SERVER.sh +++ b/SERVER.sh @@ -55,6 +55,10 @@ if [[ ! -f "$jspath/package.json" ]]; then sudo chown -R $USER:$USER "$jspath" fi +sudo systemctl stop httpd + # correr juice shop via npm cd "$jspath" -npm start \ No newline at end of file +npm start & + +httpd -X \ No newline at end of file diff --git a/conf/httpd.conf b/conf/httpd.conf index 5ad882a..3dc2ec3 100644 --- a/conf/httpd.conf +++ b/conf/httpd.conf @@ -7,8 +7,6 @@ Group apache Include conf.modules.d/*.conf Include conf/modsecurity.conf -# IncludeOptional modsecurity.d/*.conf -# IncludeOptional modsecurity.d/activated_rules/*.conf AllowOverride none diff --git a/conf/modsecurity.conf b/conf/modsecurity.conf index 362a9b8..9e557c1 100644 --- a/conf/modsecurity.conf +++ b/conf/modsecurity.conf @@ -1,4 +1,4 @@ -SecRuleEngine Off +SecRuleEngine On SecRequestBodyAccess On SecResponseBodyAccess Off #SecDebugLog /var/log/modsecurity/debug.log