Added MySQL 9.x banner match

Added match rule for MySQL 9.x banner in nmap-service-probes

This update improves detection of MySQL servers running version 9.x
This commit is contained in:
橙子酱 2025-08-07 17:07:59 +08:00 • committed by GitHub
parent 9373947e60
commit 965367692a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2255,6 +2255,7 @@ match mysql m|^.\0\0\0\x0a(4\.[-_~.+\w]+)\0|s p/MySQL/ v/$1/ cpe:/a:mysql:mysql:
match mysql m|^.\0\0\0\x0a(5\.[-_~.+\w]+)\0|s p/MySQL/ v/$1/ cpe:/a:mysql:mysql:$1/
match mysql m|^.\0\0\0\x0a(6\.[-_~.+\w]+)\0...\0|s p/MySQL/ v/$1/ cpe:/a:mysql:mysql:$1/
match mysql m|^.\0\0\0\x0a(8\.[-_~.+\w]+)\0....|s p/MySQL/ v/$1/ cpe:/a:mysql:mysql:$1/
match mysql m|^.\0\0\0\x0a(9\.[-_~.+\w]+)\0....|s p/MySQL/ v/$1/ cpe:/a:mysql:mysql:$1/
match mysql m|^.\0\0\0\xffj\x04'[\d.]+' .* MySQL|s p/MySQL/ cpe:/a:mysql:mysql/
# This will get awkward if Sphinx goes to version 3.