Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
includes /
media /
Delete
Unzip
Name
Size
Permission
Date
Action
BMP.php
1.92
KB
-rw-r--r--
2016-11-28 20:20
Bitmap.php
19.63
KB
-rw-r--r--
2016-11-28 20:20
BitmapMetadataHandler.php
9.32
KB
-rw-r--r--
2016-11-28 20:20
Bitmap_ClientOnly.php
1.83
KB
-rw-r--r--
2016-11-28 20:20
DjVu.php
11.13
KB
-rw-r--r--
2016-11-28 20:20
DjVuImage.php
10.43
KB
-rw-r--r--
2016-11-28 20:20
Exif.php
28.64
KB
-rw-r--r--
2016-11-28 20:20
ExifBitmap.php
8.38
KB
-rw-r--r--
2016-11-28 20:20
FormatMetadata.php
49.84
KB
-rw-r--r--
2016-11-28 20:20
GIF.php
5
KB
-rw-r--r--
2016-11-28 20:20
GIFMetadataExtractor.php
9.18
KB
-rw-r--r--
2016-11-28 20:20
Generic.php
20.85
KB
-rw-r--r--
2011-12-26 00:57
IPTC.php
18.25
KB
-rw-r--r--
2016-11-28 20:20
ImageHandler.php
7.72
KB
-rw-r--r--
2016-11-28 20:20
Jpeg.php
5.37
KB
-rw-r--r--
2016-11-28 20:20
JpegMetadataExtractor.php
9.73
KB
-rw-r--r--
2016-11-28 20:20
MediaHandler.php
26.1
KB
-rw-r--r--
2016-11-28 20:20
MediaHandlerFactory.php
2.6
KB
-rw-r--r--
2016-11-28 20:20
MediaTransformInvalidParametersException.php
980
B
-rw-r--r--
2016-11-28 20:20
MediaTransformOutput.php
14.87
KB
-rw-r--r--
2016-11-28 20:20
PNG.php
4.82
KB
-rw-r--r--
2016-11-28 20:20
PNGMetadataExtractor.php
13.02
KB
-rw-r--r--
2016-11-28 20:20
SVG.php
15.4
KB
-rw-r--r--
2016-11-28 20:20
SVGMetadataExtractor.php
12.85
KB
-rw-r--r--
2016-11-28 20:20
Tiff.php
2.86
KB
-rw-r--r--
2016-11-28 20:20
TransformationalImageHandler.php
19.74
KB
-rw-r--r--
2016-11-28 20:20
WebP.php
8.61
KB
-rw-r--r--
2016-11-28 20:20
XCF.php
6.17
KB
-rw-r--r--
2016-11-28 20:20
XMP.php
37.44
KB
-rw-r--r--
2011-06-17 18:05
XMPInfo.php
34.15
KB
-rw-r--r--
2011-10-26 20:47
XMPValidate.php
9.88
KB
-rw-r--r--
2011-04-18 15:08
tinyrgb.icc
524
B
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Media-handling base classes and generic functionality. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup Media */ /** * Class to construct MediaHandler objects * * @since 1.28 */ class MediaHandlerFactory { /** * Default, MediaWiki core media handlers * * @var array */ private static $coreHandlers = [ 'image/jpeg' => JpegHandler::class, 'image/png' => PNGHandler::class, 'image/gif' => GIFHandler::class, 'image/tiff' => TiffHandler::class, 'image/webp' => WebPHandler::class, 'image/x-ms-bmp' => BmpHandler::class, 'image/x-bmp' => BmpHandler::class, 'image/x-xcf' => XCFHandler::class, 'image/svg+xml' => SvgHandler::class, // official 'image/svg' => SvgHandler::class, // compat 'image/vnd.djvu' => DjVuHandler::class, // official 'image/x.djvu' => DjVuHandler::class, // compat 'image/x-djvu' => DjVuHandler::class, // compat ]; /** * @var array */ private $registry; /** * Instance cache of MediaHandler objects by mimetype * * @var MediaHandler[] */ private $handlers; public function __construct( array $registry ) { $this->registry = $registry + self::$coreHandlers; } protected function getHandlerClass( $type ) { if ( isset( $this->registry[$type] ) ) { return $this->registry[$type]; } else { return false; } } /** * @param string $type mimetype * @return bool|MediaHandler */ public function getHandler( $type ) { if ( isset( $this->handlers[$type] ) ) { return $this->handlers[$type]; } $class = $this->getHandlerClass( $type ); if ( $class !== false ) { /** @var MediaHandler $handler */ $handler = new $class; if ( !$handler->isEnabled() ) { wfDebug( __METHOD__ . ": $class is not enabled\n" ); $handler = false; } } else { wfDebug( __METHOD__ . ": no handler found for $type.\n" ); $handler = false; } $this->handlers[$type] = $handler; return $handler; } }