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.69.59.199
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.aptans /
user /
[ HOME SHELL ]
Name
Size
Permission
Action
amd
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
filters
[ DIR ]
drwxr-xr-x
profile
[ DIR ]
drwxr-xr-x
selector
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
action_redir.php
10.12
KB
-rw-rw-r--
calendar.php
3.81
KB
-rw-r--r--
contentbank.php
2.24
KB
-rw-r--r--
defaulthomepage.php
2.13
KB
-rw-rw-r--
edit.php
11.26
KB
-rw-rw-r--
edit_form.php
9.53
KB
-rw-r--r--
editadvanced.php
13.13
KB
-rw-rw-r--
editadvanced_form.php
12.77
KB
-rw-r--r--
editlib.php
19.28
KB
-rw-rw-r--
editor.php
2.48
KB
-rw-rw-r--
editor_form.php
2.51
KB
-rw-r--r--
emailupdate.php
3.51
KB
-rw-r--r--
externallib.php
82.87
KB
-rw-rw-r--
files.php
1.74
KB
-rw-rw-r--
forum.php
3.31
KB
-rw-rw-r--
forum_form.php
3.91
KB
-rw-r--r--
grouppix.php
1.77
KB
-rw-r--r--
index.php
11.78
KB
-rw-rw-r--
language.php
2.73
KB
-rw-r--r--
language_form.php
2.9
KB
-rw-r--r--
lib.php
52.01
KB
-rw-rw-r--
managetoken.php
4.15
KB
-rw-r--r--
pix.php
1.51
KB
-rw-r--r--
policy.php
3.26
KB
-rw-r--r--
portfolio.php
4.7
KB
-rw-r--r--
portfoliologs.php
5.67
KB
-rw-r--r--
preferences.php
3.02
KB
-rw-rw-r--
profile.php
8.38
KB
-rw-rw-r--
profilesys.php
2.33
KB
-rw-rw-r--
renderer.php
16.6
KB
-rw-r--r--
repository.php
2.78
KB
-rw-r--r--
upgrade.txt
1.54
KB
-rw-rw-r--
view.php
8.64
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : emailupdate.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/>. /** * Change a users email address * * @copyright 1999 Martin Dougiamas http://dougiamas.com * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @package core_user */ require_once('../config.php'); require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->dirroot.'/user/editlib.php'); require_once($CFG->dirroot.'/user/lib.php'); $key = required_param('key', PARAM_ALPHANUM); $id = required_param('id', PARAM_INT); $PAGE->set_url('/user/emailupdate.php', array('id' => $id, 'key' => $key)); $PAGE->set_context(context_system::instance()); if (!$user = $DB->get_record('user', array('id' => $id))) { print_error('invaliduserid'); } $preferences = get_user_preferences(null, null, $user->id); $a = new stdClass(); $a->fullname = fullname($user, true); $stremailupdate = get_string('emailupdate', 'auth', $a); $PAGE->set_title(format_string($SITE->fullname) . ": $stremailupdate"); $PAGE->set_heading(format_string($SITE->fullname) . ": $stremailupdate"); if (empty($preferences['newemailattemptsleft'])) { redirect("$CFG->wwwroot/user/view.php?id=$user->id"); } else if ($preferences['newemailattemptsleft'] < 1) { cancel_email_update($user->id); echo $OUTPUT->header(); echo $OUTPUT->box(get_string('auth_outofnewemailupdateattempts', 'auth'), 'center'); echo $OUTPUT->footer(); } else if ($key == $preferences['newemailkey']) { $olduser = clone($user); cancel_email_update($user->id); $user->email = $preferences['newemail']; // Detect duplicate before saving. if (empty($CFG->allowaccountssameemail)) { // Make a case-insensitive query for the given email address. $select = $DB->sql_equal('email', ':email', false) . ' AND mnethostid = :mnethostid AND id <> :userid'; $params = array( 'email' => $user->email, 'mnethostid' => $CFG->mnet_localhost_id, 'userid' => $user->id ); // If there are other user(s) that already have the same email, cancel and redirect. if ($DB->record_exists_select('user', $select, $params)) { redirect(new moodle_url('/user/view.php', ['id' => $user->id]), get_string('emailnowexists', 'auth')); } } // Update user email. $authplugin = get_auth_plugin($user->auth); $authplugin->user_update($olduser, $user); user_update_user($user, false); $a->email = $user->email; redirect( new moodle_url('/user/view.php', ['id' => $user->id]), get_string('emailupdatesuccess', 'auth', $a), null, \core\output\notification::NOTIFY_SUCCESS ); } else { $preferences['newemailattemptsleft']--; set_user_preference('newemailattemptsleft', $preferences['newemailattemptsleft'], $user->id); echo $OUTPUT->header(); echo $OUTPUT->box(get_string('auth_invalidnewemailkey', 'auth'), 'center'); echo $OUTPUT->footer(); }
Close