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 /
content /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractContent.php
12.21
KB
-rw-r--r--
2016-11-28 20:20
CodeContentHandler.php
1.91
KB
-rw-r--r--
2016-11-28 20:20
Content.php
16.64
KB
-rw-r--r--
2016-11-28 20:20
ContentHandler.php
39.7
KB
-rw-r--r--
2016-11-28 20:20
CssContent.php
3.04
KB
-rw-r--r--
2016-11-28 20:20
CssContentHandler.php
1.75
KB
-rw-r--r--
2016-11-28 20:20
FileContentHandler.php
2.25
KB
-rw-r--r--
2016-11-28 20:20
JavaScriptContent.php
3.16
KB
-rw-r--r--
2016-11-28 20:20
JavaScriptContentHandler.php
1.86
KB
-rw-r--r--
2016-11-28 20:20
JsonContent.php
5.98
KB
-rw-r--r--
2016-11-28 20:20
JsonContentHandler.php
1.31
KB
-rw-r--r--
2016-11-28 20:20
MessageContent.php
4.18
KB
-rw-r--r--
2016-11-28 20:20
TextContent.php
9.26
KB
-rw-r--r--
2016-11-28 20:20
TextContentHandler.php
4.44
KB
-rw-r--r--
2016-11-28 20:20
WikiTextStructure.php
7.54
KB
-rw-r--r--
2016-11-28 20:20
WikitextContent.php
9.93
KB
-rw-r--r--
2016-11-28 20:20
WikitextContentHandler.php
4.63
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Content handler for File: files * TODO: this handler s not used directly now, * but instead manually called by WikitextHandler. * This should be fixed in the future. */ class FileContentHandler extends WikitextContentHandler { public function getFieldsForSearchIndex( SearchEngine $engine ) { $fields['file_media_type'] = $engine->makeSearchFieldMapping( 'file_media_type', SearchIndexField::INDEX_TYPE_KEYWORD ); $fields['file_media_type']->setFlag( SearchIndexField::FLAG_CASEFOLD ); $fields['file_mime'] = $engine->makeSearchFieldMapping( 'file_mime', SearchIndexField::INDEX_TYPE_SHORT_TEXT ); $fields['file_mime']->setFlag( SearchIndexField::FLAG_CASEFOLD ); $fields['file_size'] = $engine->makeSearchFieldMapping( 'file_size', SearchIndexField::INDEX_TYPE_INTEGER ); $fields['file_width'] = $engine->makeSearchFieldMapping( 'file_width', SearchIndexField::INDEX_TYPE_INTEGER ); $fields['file_height'] = $engine->makeSearchFieldMapping( 'file_height', SearchIndexField::INDEX_TYPE_INTEGER ); $fields['file_bits'] = $engine->makeSearchFieldMapping( 'file_bits', SearchIndexField::INDEX_TYPE_INTEGER ); $fields['file_resolution'] = $engine->makeSearchFieldMapping( 'file_resolution', SearchIndexField::INDEX_TYPE_INTEGER ); $fields['file_text'] = $engine->makeSearchFieldMapping( 'file_text', SearchIndexField::INDEX_TYPE_TEXT ); return $fields; } public function getDataForSearchIndex( WikiPage $page, ParserOutput $parserOutput, SearchEngine $engine ) { $fields = []; $title = $page->getTitle(); if ( NS_FILE != $title->getNamespace() ) { return []; } $file = wfLocalFile( $title ); if ( !$file || !$file->exists() ) { return []; } $handler = $file->getHandler(); if ( $handler ) { $fields['file_text'] = $handler->getEntireText( $file ); } $fields['file_media_type'] = $file->getMediaType(); $fields['file_mime'] = $file->getMimeType(); $fields['file_size'] = $file->getSize(); $fields['file_width'] = $file->getWidth(); $fields['file_height'] = $file->getHeight(); $fields['file_bits'] = $file->getBitDepth(); $fields['file_resolution'] = (int)floor( sqrt( $fields['file_width'] * $fields['file_height'] ) ); return $fields; } }