From 04c2097fbe5209b4a8bf9f478a74adeb5304bf03 Mon Sep 17 00:00:00 2001 From: Achintya Jai <153343775+pUrGe12@users.noreply.github.com> Date: Wed, 11 Jun 2025 18:13:20 +0530 Subject: [PATCH] regex fixes for mysql and mariaDB (#1083) --- nettacker/modules/scan/port.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nettacker/modules/scan/port.yaml b/nettacker/modules/scan/port.yaml index 8e7563bf..e6e0cdfb 100644 --- a/nettacker/modules/scan/port.yaml +++ b/nettacker/modules/scan/port.yaml @@ -1047,11 +1047,11 @@ payloads: reverse: false mariadb: - regex: "is not allowed to connect to this MariaDB server" + regex: "is not allowed to connect to this MariaDB server|mysql_native_password|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*-MariaDB" reverse: false mysql: - regex: "is not allowed to connect to this MySQL server|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*" + regex: "is not allowed to connect to this MySQL server|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*.*?caching_sha2_password" reverse: false nntp: