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 files21
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- BeforePasswordUpdatedEvent.php
- BeforeUserCreatedEvent.php
- BeforeUserDeletedEvent.php
- BeforeUserLoggedInEvent.php
- BeforeUserLoggedInWithCookieEvent.php
- BeforeUserLoggedOutEvent.php
- OutOfOfficeChangedEvent.php
- OutOfOfficeClearedEvent.php
- OutOfOfficeEndedEvent.php
- OutOfOfficeScheduledEvent.php
- OutOfOfficeStartedEvent.php
- PasswordUpdatedEvent.php
- PostLoginEvent.php
- UserChangedEvent.php
- UserCreatedEvent.php
- UserDeletedEvent.php
- UserFirstTimeLoggedInEvent.php
- UserLiveStatusEvent.php
- UserLoggedInEvent.php
- UserLoggedInWithCookieEvent.php
- UserLoggedOutEvent.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lib/public/User/Events/UserChangedEvent.php
PHP · 1,119 bytes<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\User\Events;
use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
* @since 18.0.0
*/
class UserChangedEvent extends Event {
private IUser $user;
private string $feature;
/** @var mixed */
private $value;
/** @var mixed */
private $oldValue;
/**
* @since 18.0.0
*/
public function __construct(IUser $user,
string $feature,
$value,
$oldValue = null) {
parent::__construct();
$this->user = $user;
$this->feature = $feature;
$this->value = $value;
$this->oldValue = $oldValue;
}
/**
* @return IUser
* @since 18.0.0
*/
public function getUser(): IUser {
return $this->user;
}
/**
* @return string
* @since 18.0.0
*/
public function getFeature(): string {
return $this->feature;
}
/**
* @return mixed
* @since 18.0.0
*/
public function getValue() {
return $this->value;
}
/**
* @return mixed
* @since 18.0.0
*/
public function getOldValue() {
return $this->oldValue;
}
}