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 files31
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- AppConfiguration.php
- Auth.php
- Avatar.php
- BasicStructure.php
- CalDavContext.php
- CapabilitiesContext.php
- CardDavContext.php
- ChecksumsContext.php
- CollaborationContext.php
- CommandLine.php
- CommandLineContext.php
- CommentsContext.php
- ContactsMenu.php
- Download.php
- FakeSMTPHelper.php
- FeatureContext.php
- FederationContext.php
- FilesDropContext.php
- LDAPContext.php
- Mail.php
- Provisioning.php
- RemoteContext.php
- Search.php
- SetupContext.php
- ShareesContext.php
- Sharing.php
- SharingContext.php
- TagsContext.php
- TalkContext.php
- Trashbin.php
- WebDav.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
build/integration/features/bootstrap/SharingContext.php
PHP · 1,097 bytes<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;
require __DIR__ . '/../../vendor/autoload.php';
/**
* Features context.
*/
class SharingContext implements Context, SnippetAcceptingContext {
use WebDav;
use Trashbin;
use AppConfiguration;
use CommandLine;
protected function resetAppConfigs() {
$this->deleteServerConfig('core', 'shareapi_default_permissions');
$this->deleteServerConfig('core', 'shareapi_default_internal_expire_date');
$this->deleteServerConfig('core', 'shareapi_internal_expire_after_n_days');
$this->deleteServerConfig('core', 'internal_defaultExpDays');
$this->deleteServerConfig('core', 'shareapi_enforce_links_password');
$this->deleteServerConfig('core', 'shareapi_default_expire_date');
$this->deleteServerConfig('core', 'shareapi_expire_after_n_days');
$this->deleteServerConfig('core', 'link_defaultExpDays');
$this->runOcc(['config:system:delete', 'share_folder']);
}
}