Exploit databaseDownload repository ZIP
GH-7feacea856188eafd49a6762828c436f
chocapikk/cve-2023-35885
Sources for CVE-2023-35885
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files27
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- AnnouncementManager.php
- BaseManager.php
- BasicAuthManager.php
- BlockedBotManager.php
- BlockedIpManager.php
- CertificateManager.php
- ConfigManager.php
- CronJobManager.php
- DatabaseManager.php
- DatabaseServerManager.php
- DatabaseUserManager.php
- EventManager.php
- FirewallRuleManager.php
- FtpUserManager.php
- InstanceCpuManager.php
- InstanceDiskUsageManager.php
- InstanceLoadAverageManager.php
- InstanceMemoryManager.php
- NodejsSettingsManager.php
- NotificationManager.php
- PhpSettingsManager.php
- PythonSettingsManager.php
- SiteManager.php
- SshUserManager.php
- TimezoneManager.php
- UserManager.php
- VhostTemplateManager.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Entity/Manager/NotificationManager.php
PHP · 699 bytes<?php
namespace App\Entity\Manager;
use App\Entity\Notification;
class NotificationManager extends BaseManager
{
public function updateNotification(Notification $notification, $andFlush = true)
{
$hash = $notification->hash();
$existingNotifications = $this->findAll(['hash' => $hash, 'isRead' => false], [], 5);
if (0 == count($existingNotifications)) {
$this->entityManager->persist($notification);
if (true === $andFlush) {
$this->entityManager->flush();
}
}
}
public function getNumberOfUnreadNotifications()
{
return $this->repository->getNumberOfUnreadNotifications();
}
}