Exploit database

GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d

d-xuan/cve-2024-52510

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-52510

1 source

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

Repository files19

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

apps/files_external/3rdparty/icewind/streams/src/PathWrapper.php

PHP · 468 bytes
<?php
/**
 * SPDX-FileCopyrightText: 2016 Robin Appelman <[email protected]>
 * SPDX-License-Identifier: MIT
 */

namespace Icewind\Streams;

/**
 * A string-like object that maps to an existing stream when opened
 */
class PathWrapper extends NullWrapper {
	/**
	 * @param resource $source
	 * @return Path|string
	 */
	public static function getPath($source) {
		return new Path(NullWrapper::class, [
			NullWrapper::getProtocol() => ['source' => $source]
		]);
	}
}