Skip to content

Commit 04c2097

Browse files
authored
regex fixes for mysql and mariaDB (#1083)
1 parent 74e494d commit 04c2097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nettacker/modules/scan/port.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,11 +1047,11 @@ payloads:
10471047
reverse: false
10481048

10491049
mariadb:
1050-
regex: "is not allowed to connect to this MariaDB server"
1050+
regex: "is not allowed to connect to this MariaDB server|mysql_native_password|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*-MariaDB"
10511051
reverse: false
10521052

10531053
mysql:
1054-
regex: "is not allowed to connect to this MySQL server|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*"
1054+
regex: "is not allowed to connect to this MySQL server|\\d\\.\\d+\\.\\d+g?[a-zA-Z]*.*?caching_sha2_password"
10551055
reverse: false
10561056

10571057
nntp:

0 commit comments

Comments
 (0)