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.70.130.222
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 /
admin /
user /
[ HOME SHELL ]
Name
Size
Permission
Action
lib.php
1.78
KB
-rw-r--r--
user_bulk.php
3.06
KB
-rw-r--r--
user_bulk_cohortadd.php
4.9
KB
-rw-r--r--
user_bulk_cohortadd_form.php
1.37
KB
-rw-r--r--
user_bulk_confirm.php
2.17
KB
-rw-rw-r--
user_bulk_delete.php
2.07
KB
-rw-rw-r--
user_bulk_display.php
2.55
KB
-rw-rw-r--
user_bulk_download.php
3.34
KB
-rw-rw-r--
user_bulk_forcepasswordchange....
2.43
KB
-rw-rw-r--
user_bulk_forms.php
7.45
KB
-rw-r--r--
user_bulk_message.php
2.61
KB
-rw-rw-r--
user_message_form.php
593
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_bulk_message.php
<?php require_once('../../config.php'); require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->dirroot.'/message/lib.php'); require_once('user_message_form.php'); $msg = optional_param('msg', '', PARAM_RAW); $confirm = optional_param('confirm', 0, PARAM_BOOL); admin_externalpage_setup('userbulk'); require_capability('moodle/site:manageallmessaging', context_system::instance()); $return = $CFG->wwwroot.'/'.$CFG->admin.'/user/user_bulk.php'; if (empty($SESSION->bulk_users)) { redirect($return); } if (empty($CFG->messaging)) { print_error('messagingdisable', 'error'); } //TODO: add support for large number of users if ($confirm and !empty($msg) and confirm_sesskey()) { list($in, $params) = $DB->get_in_or_equal($SESSION->bulk_users); $rs = $DB->get_recordset_select('user', "id $in", $params); foreach ($rs as $user) { //TODO we should probably support all text formats here or only FORMAT_MOODLE //For now bulk messaging is still using the html editor and its supplying html //so we have to use html format for it to be displayed correctly message_post_message($USER, $user, $msg, FORMAT_HTML); } $rs->close(); redirect($return); } $msgform = new user_message_form('user_bulk_message.php'); if ($msgform->is_cancelled()) { redirect($return); } else if ($formdata = $msgform->get_data()) { $options = new stdClass(); $options->para = false; $options->newlines = true; $options->smiley = false; $options->trusted = trusttext_trusted(\context_system::instance()); $msg = format_text($formdata->messagebody['text'], $formdata->messagebody['format'], $options); 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'); $usernames = implode(', ', $userlist); echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('confirmation', 'admin')); echo $OUTPUT->box($msg, 'boxwidthnarrow boxaligncenter generalbox', 'preview'); //TODO: clean once we start using proper text formats here $formcontinue = new single_button(new moodle_url('user_bulk_message.php', array('confirm' => 1, 'msg' => $msg)), get_string('yes')); //TODO: clean once we start using proper text formats here $formcancel = new single_button(new moodle_url('user_bulk.php'), get_string('no'), 'get'); echo $OUTPUT->confirm(get_string('confirmmessage', 'bulkusers', $usernames), $formcontinue, $formcancel); echo $OUTPUT->footer(); die; } echo $OUTPUT->header(); $msgform->display(); echo $OUTPUT->footer();
Close