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 /
message /
output /
airnotifier /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
externallib.php
13.82
KB
-rwxrwxrwx
lib.php
1.68
KB
-rwxrwxrwx
message_output_airnotifier.php
8.82
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
requestaccesskey.php
4.04
KB
-rwxrwxrwx
rest.php
1.64
KB
-rwxrwxrwx
settings.php
2.97
KB
-rwxrwxrwx
version.php
1.18
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : requestaccesskey.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/>. /** * Request access key to AirNotifier * * @package message_airnotifier * @copyright 2012 Jerome Mouneyrac * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require('../../../config.php'); $PAGE->set_url(new moodle_url('/message/output/airnotifier/requestaccesskey.php')); $PAGE->set_context(context_system::instance()); require_login(); require_sesskey(); require_capability('moodle/site:config', context_system::instance()); $strheading = get_string('requestaccesskey', 'message_airnotifier'); $PAGE->navbar->add(get_string('administrationsite')); $PAGE->navbar->add(get_string('plugins', 'admin')); $PAGE->navbar->add(get_string('messageoutputs', 'message')); $returl = new moodle_url('/admin/settings.php', array('section' => 'messagesettingairnotifier')); $PAGE->navbar->add(get_string('pluginname', 'message_airnotifier'), $returl); $PAGE->navbar->add($strheading); $PAGE->set_heading($strheading); $PAGE->set_title($strheading); $msg = ""; // If we are requesting a key to the official message system, verify first that this site is registered. // This check is also done in Airnotifier. if (strpos($CFG->airnotifierurl, message_airnotifier_manager::AIRNOTIFIER_PUBLICURL) !== false ) { $adminrenderer = $PAGE->get_renderer('core', 'admin'); $msg = $adminrenderer->warn_if_not_registered(); if ($msg) { $msg .= html_writer::div(get_string('sitemustberegistered', 'message_airnotifier')); echo $OUTPUT->header(); echo $OUTPUT->box($msg, 'generalbox'); echo $OUTPUT->footer(); die; } } echo $OUTPUT->header(); $manager = new message_airnotifier_manager(); $warnings = []; if ($key = $manager->request_accesskey()) { set_config('airnotifieraccesskey', $key); $msg = $OUTPUT->box(get_string('keyretrievedsuccessfully', 'message_airnotifier'), 'generalbox alert alert-success'); // Check mobile notifications. $processors = get_message_processors(); $enabled = false; foreach ($processors as $processor => $status) { if ($processor == 'airnotifier' && $status->enabled) { $enabled = true; } } if (!$enabled) { // Airnotifier processor isn't enabled. Warn the user. $warnings[] = [ 'msg' => get_string('mobilenotificationsdisabledwarning', 'tool_mobile'), 'linkmsg' => get_string('enableprocessor', 'message_airnotifier'), 'linkurl' => new moodle_url('/admin/message.php'), ]; } if (empty($CFG->enablemobilewebservice)) { // Mobile web services not enabled. Warn the user. $warnings[] = [ 'msg' => get_string('mobilenotconfiguredwarning', 'admin'), 'linkmsg' => get_string('enablemobilewebservice', 'admin'), 'linkurl' => new moodle_url('/admin/settings.php', ['section' => 'mobilesettings']), ]; } } else { $msg = $OUTPUT->box(get_string('errorretrievingkey', 'message_airnotifier'), 'generalbox alert alert-danger'); } // Display the warnings. foreach ($warnings as $warning) { if (!empty($warning['linkurl'])) { $warning['msg'] = $warning['msg'] . ' ' . html_writer::tag('a', $warning['linkmsg'], ['href' => $warning['linkurl']]); } $msg .= $OUTPUT->box($warning['msg'], 'generalbox alert alert-warning'); } $msg .= $OUTPUT->continue_button($returl); echo $OUTPUT->box($msg, 'generalbox '); echo $OUTPUT->footer();
Close