Exploit databaseDownload repository ZIP
GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d
d-xuan/cve-2024-52510
Sources for CVE-2024-52510
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files25
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- Keywords/
- MySQL/
- SQLServer/
- SQLite/
- AbstractMySQLPlatform.php
- AbstractPlatform.php
- DB2111Platform.php
- DB2Platform.php
- DateIntervalUnit.php
- MariaDBPlatform.php
- MariaDb1027Platform.php
- MariaDb1043Platform.php
- MariaDb1052Platform.php
- MariaDb1060Platform.php
- MySQL57Platform.php
- MySQL80Platform.php
- MySQLPlatform.php
- OraclePlatform.php
- PostgreSQL100Platform.php
- PostgreSQL94Platform.php
- PostgreSQLPlatform.php
- SQLServer2012Platform.php
- SQLServerPlatform.php
- SqlitePlatform.php
- TrimMode.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
3rdparty/doctrine/dbal/src/Platforms/MariaDBPlatform.php
PHP · 1,651 bytes<?php
namespace Doctrine\DBAL\Platforms;
use Doctrine\DBAL\Types\Types;
use Doctrine\Deprecations\Deprecation;
/**
* Provides the behavior, features and SQL dialect of the MariaDB database platform of the oldest supported version.
*/
class MariaDBPlatform extends MySQLPlatform
{
/**
* {@inheritDoc}
*
* Hop over the {@see AbstractMySQLPlatform} implementation until 4.0.x
* where {@see MariaDBPlatform} no longer extends {@see MySQLPlatform}.
*
* @internal The method should be only used from within the {@see AbstractPlatform} class hierarchy.
*/
public function getDefaultValueDeclarationSQL($column)
{
return AbstractPlatform::getDefaultValueDeclarationSQL($column);
}
/**
* {@inheritDoc}
*
* @link https://mariadb.com/kb/en/library/json-data-type/
*/
public function getJsonTypeDeclarationSQL(array $column): string
{
return 'LONGTEXT';
}
/** @deprecated Implement {@see createReservedKeywordsList()} instead. */
protected function getReservedKeywordsClass(): string
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/issues/4510',
'MariaDb1027Platform::getReservedKeywordsClass() is deprecated,'
. ' use MariaDb1027Platform::createReservedKeywordsList() instead.',
);
return Keywords\MariaDb102Keywords::class;
}
protected function initializeDoctrineTypeMappings(): void
{
parent::initializeDoctrineTypeMappings();
$this->doctrineTypeMapping['json'] = Types::JSON;
}
}