diff --git a/modules/services/unix/database/mysql_kali_compatible/mysql/mysql.pp b/modules/services/unix/database/mysql_kali_compatible/mysql/mysql.pp
index b8676d674..17820c784 100644
--- a/modules/services/unix/database/mysql_kali_compatible/mysql/mysql.pp
+++ b/modules/services/unix/database/mysql_kali_compatible/mysql/mysql.pp
@@ -7,12 +7,29 @@ user { 'mysql':
group { 'mysql':
ensure => 'present',
} ->
+file { '/var/log/mysql':
+ ensure => 'directory',
+ owner => 'mysql',
+ group => 'mysql',
+ mode => '0755',
+} ->
-class {'::mysql::server':
+class { '::mysql::server':
package_name => 'mariadb-server',
service_name => 'mariadb',
- package_manage => false, # avoid managing the client package
- service_manage => true, # this doesn't work (workaround below)
+ package_manage => false,
+ service_manage => true,
+ override_options => {
+ 'mysqld' => {
+ 'ssl' => false,
+ 'skip-ssl' => true,
+ 'require_secure_transport' => false,
+ },
+ 'client' => {
+ 'ssl' => false,
+ }
+ }
+
} ->
exec { 'start_and_enable_mariadb':
diff --git a/modules/services/unix/database/mysql_stretch_compatible/mysql/secgen_metadata.xml b/modules/services/unix/database/mysql_stretch_compatible/mysql/secgen_metadata.xml
index 3799299b2..1a58f0404 100644
--- a/modules/services/unix/database/mysql_stretch_compatible/mysql/secgen_metadata.xml
+++ b/modules/services/unix/database/mysql_stretch_compatible/mysql/secgen_metadata.xml
@@ -21,7 +21,7 @@
- .*bases/(?!.*debian_(bookworm|buster|stretch).*)
+ .*bases/(?!debian_(bookworm|buster|stretch)).*
diff --git a/scenarios/labs/web_security/4_sqli.xml b/scenarios/labs/web_security/4_sqli.xml
index a12309a9b..c0bb3d28e 100644
--- a/scenarios/labs/web_security/4_sqli.xml
+++ b/scenarios/labs/web_security/4_sqli.xml
@@ -149,7 +149,7 @@ Throughout this lab, you will engage in a series of tasks across various platfor
true
- http://localhost:8085/WebGoat|webserver
+ http://localhost:8085/WebGoat|http://localhost/|webserver
diff --git a/scenarios/labs/web_security/5_sqli_advanced.xml b/scenarios/labs/web_security/5_sqli_advanced.xml
index 93c73cca2..0a47747ed 100644
--- a/scenarios/labs/web_security/5_sqli_advanced.xml
+++ b/scenarios/labs/web_security/5_sqli_advanced.xml
@@ -150,7 +150,7 @@ Throughout the lab, you will engage with various vulnerable environments, includ
true
- http://localhost:8085/WebGoat|webserver
+ http://localhost:8085/WebGoat|http://localhost/|webserver