sqlmap/plugins/dbms/mysql
User 6583472ccf Optimize Apache Doris detection with more reliable logic
- Use VERSION()='5.7.99' as primary fingerprint (Apache Doris hardcoded value)
- Add dual verification: VERSION()='5.7.99' AND @@VERSION_COMMENT LIKE '%Doris%'
- Prioritize StarRocks detection to avoid confusion
- Provide fallback detection for restricted environments
- Based on official Doris documentation: version() always returns '5.7.99'

This implementation follows best practices:
1. StarRocks checked first (returns real versions like 5.1.0)
2. Combined verification for Apache Doris (5.7.99 + banner)
3. Fallback to version-only detection when VERSION_COMMENT inaccessible
4. Leverages the fact that MySQL never released version 5.7.99
2025-08-22 11:16:53 +08:00
..
__init__.py Patch for #5897 2025-05-08 23:54:39 +02:00
connector.py Fixes #5936 2025-08-05 14:57:58 +02:00
enumeration.py Patch for #5897 2025-05-08 23:54:39 +02:00
filesystem.py Patch for #5897 2025-05-08 23:54:39 +02:00
fingerprint.py Optimize Apache Doris detection with more reliable logic 2025-08-22 11:16:53 +08:00
syntax.py Patch for #5897 2025-05-08 23:54:39 +02:00
takeover.py Patch for #5897 2025-05-08 23:54:39 +02:00