Exploit database

GH-25ed919a3c63ff26fc49a3fe47dc7565

datackmy/fallingskies-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.

Repository files50

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

src/Validator/Constraints/MfaCode.php

PHP · 505 bytes
<?php

namespace App\Validator\Constraints;

use Symfony\Component\Validator\Constraint;
use App\Entity\User;

class MfaCode extends Constraint
{
    public string $message = 'This value is not valid.';

    private ?User $user = null;

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

    public function setUser(User $user): void
    {
        $this->user = $user;
    }

    public function getUser(): ?User
    {
        return $this->user;
    }
}