Exploit databaseDownload repository ZIP
GH-f359731d8fead5a2694e39bcbf8b56ff
0xnemian/cve-2021-23394
Sources for CVE-2021-23394
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files29
0xnemian/cve-2021-23394Revision 884d8c26e8c8
- ↑..Parent directory
- .tmp/
- editors/
- libs/
- plugins/
- resources/
- MySQLStorage.sql
- autoload.php
- connector.maximal.php-dist
- connector.minimal.php-dist
- elFinder.class.php
- elFinderConnector.class.php
- elFinderFlysystemGoogleDriveNetmount.php
- elFinderPlugin.php
- elFinderSession.php
- elFinderSessionInterface.php
- elFinderVolumeBox.class.php
- elFinderVolumeDriver.class.php
- elFinderVolumeDropbox.class.php
- elFinderVolumeDropbox2.class.php
- elFinderVolumeFTP.class.php
- elFinderVolumeGoogleDrive.class.php
- elFinderVolumeGroup.class.php
- elFinderVolumeLocalFileSystem.class.php
- elFinderVolumeMySQL.class.php
- elFinderVolumeOneDrive.class.php
- elFinderVolumeSFTPphpseclib.class.php
- elFinderVolumeTrash.class.php
- elFinderVolumeTrashMySQL.class.php
- mime.types
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
elFinder-2.1.66/php/autoload.php
PHP · 2,680 bytes<?php
define('ELFINDER_PHP_ROOT_PATH', dirname(__FILE__));
function elFinderAutoloader($name)
{
$map = array(
'elFinder' => 'elFinder.class.php',
'elFinderConnector' => 'elFinderConnector.class.php',
'elFinderEditor' => 'editors/editor.php',
'elFinderLibGdBmp' => 'libs/GdBmp.php',
'elFinderPlugin' => 'elFinderPlugin.php',
'elFinderPluginAutoResize' => 'plugins/AutoResize/plugin.php',
'elFinderPluginAutoRotate' => 'plugins/AutoRotate/plugin.php',
'elFinderPluginNormalizer' => 'plugins/Normalizer/plugin.php',
'elFinderPluginSanitizer' => 'plugins/Sanitizer/plugin.php',
'elFinderPluginWatermark' => 'plugins/Watermark/plugin.php',
'elFinderSession' => 'elFinderSession.php',
'elFinderSessionInterface' => 'elFinderSessionInterface.php',
'elFinderVolumeDriver' => 'elFinderVolumeDriver.class.php',
'elFinderVolumeDropbox2' => 'elFinderVolumeDropbox2.class.php',
'elFinderVolumeFTP' => 'elFinderVolumeFTP.class.php',
'elFinderVolumeFlysystemGoogleDriveCache' => 'elFinderFlysystemGoogleDriveNetmount.php',
'elFinderVolumeFlysystemGoogleDriveNetmount' => 'elFinderFlysystemGoogleDriveNetmount.php',
'elFinderVolumeGoogleDrive' => 'elFinderVolumeGoogleDrive.class.php',
'elFinderVolumeGroup' => 'elFinderVolumeGroup.class.php',
'elFinderVolumeLocalFileSystem' => 'elFinderVolumeLocalFileSystem.class.php',
'elFinderVolumeMySQL' => 'elFinderVolumeMySQL.class.php',
'elFinderVolumeSFTPphpseclib' => 'elFinderVolumeSFTPphpseclib.class.php',
'elFinderVolumeTrash' => 'elFinderVolumeTrash.class.php',
);
if (isset($map[$name])) {
return include_once(ELFINDER_PHP_ROOT_PATH . '/' . $map[$name]);
}
$prefix = substr($name, 0, 14);
if (substr($prefix, 0, 8) === 'elFinder') {
if ($prefix === 'elFinderVolume') {
$file = ELFINDER_PHP_ROOT_PATH . '/' . $name . '.class.php';
return (is_file($file) && include_once($file));
} else if ($prefix === 'elFinderPlugin') {
$file = ELFINDER_PHP_ROOT_PATH . '/plugins/' . substr($name, 14) . '/plugin.php';
return (is_file($file) && include_once($file));
} else if ($prefix === 'elFinderEditor') {
$file = ELFINDER_PHP_ROOT_PATH . '/editors/' . substr($name, 14) . '/editor.php';
return (is_file($file) && include_once($file));
}
}
return false;
}
if (version_compare(PHP_VERSION, '5.3', '<')) {
spl_autoload_register('elFinderAutoloader');
} else {
spl_autoload_register('elFinderAutoloader', true, true);
}