Exploit database

GH-7feacea856188eafd49a6762828c436f

chocapikk/cve-2023-35885

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-35885

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files50
chocapikk/cve-2023-35885Revision 78ece7c3f53e

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/Validator/Constraints/DatabaseName.php

PHP · 370 bytes
<?php

namespace App\Validator\Constraints;

use Symfony\Component\Validator\Constraint;

/**
 * @Annotation
 */
class DatabaseName extends Constraint
{
    public $message = 'This value is not valid.';
    public $messageAlreadyExists = 'This value already exists.';

    public function validatedBy(): string
    {
        return \get_class($this).'Validator';
    }
}