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.31
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 /
mod /
folder /
classes /
event /
[ HOME SHELL ]
Name
Size
Permission
Action
all_files_downloaded.php
2.86
KB
-rwxrwxrwx
course_module_instance_list_vi...
1.33
KB
-rwxrwxrwx
course_module_viewed.php
1.58
KB
-rwxrwxrwx
folder_updated.php
2.49
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : all_files_downloaded.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/>. /** * The mod_folder course module downloaded event. * * @package mod_folder * @copyright 2015 Andrew Hancox <andrewdchancox@googlemail.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_folder\event; defined('MOODLE_INTERNAL') || die(); /** * The mod_folder course module viewed event class. * * @package mod_folder * @since Moodle 3.1 * @copyright 2015 Andrew Hancox <andrewdchancox@googlemail.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class all_files_downloaded extends \core\event\base { /** * Init method. * * @return void */ protected function init() { $this->data['crud'] = 'r'; $this->data['edulevel'] = self::LEVEL_PARTICIPATING; $this->data['objecttable'] = 'folder'; } /** * Returns description of what happened. * * @return string */ public function get_description() { return "The user with id '$this->userid' downloaded a zip archive containing all the files from the folder activity with " . "course module id '$this->contextinstanceid'."; } /** * Return localised event name. * * @return string */ public static function get_name() { return get_string('eventallfilesdownloaded', 'folder'); } /** * Get URL related to the action. * * @return \moodle_url */ public function get_url() { return new \moodle_url("/mod/folder/view.php", array('id' => $this->contextinstanceid)); } /** * Custom validation. * * @throws \coding_exception * @return void */ protected function validate_data() { parent::validate_data(); // Make sure this class is never used without proper object details. if (empty($this->objectid) || empty($this->objecttable)) { throw new \coding_exception('The course_module_viewed event must define objectid and object table.'); } // Make sure the context level is set to module. if ($this->contextlevel != CONTEXT_MODULE) { throw new \coding_exception('Context level must be CONTEXT_MODULE.'); } } }
Close