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.51
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 /
insepet /
libromaster /
mod /
chat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
gui_ajax
[ DIR ]
drwxrwxrwx
gui_basic
[ DIR ]
drwxrwxrwx
gui_header_js
[ DIR ]
drwxrwxrwx
gui_sockets
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
README.txt
757
B
-rwxrwxrwx
beep.wav
9.43
KB
-rwxrwxrwx
chat_ajax.php
5.77
KB
-rwxrwxrwx
chatd.php
40.97
KB
-rwxrwxrwx
empty.php
195
B
-rwxrwxrwx
index.php
2.31
KB
-rwxrwxrwx
lib.php
43.62
KB
-rwxrwxrwx
locallib.php
7.7
KB
-rwxrwxrwx
mod_form.php
2.6
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
3.72
KB
-rwxrwxrwx
report.php
11.35
KB
-rwxrwxrwx
settings.php
2.58
KB
-rwxrwxrwx
styles.css
1.73
KB
-rwxrwxrwx
upgrade.txt
250
B
-rwxrwxrwx
version.php
1.19
KB
-rwxrwxrwx
view.php
6.21
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.php
<?php require_once('../../config.php'); require_once('lib.php'); $id = required_param('id', PARAM_INT); // course $PAGE->set_url('/mod/chat/index.php', array('id'=>$id)); if (! $course = $DB->get_record('course', array('id'=>$id))) { print_error('invalidcourseid'); } require_course_login($course); $PAGE->set_pagelayout('incourse'); add_to_log($course->id, 'chat', 'view all', "index.php?id=$course->id", ''); /// Get all required strings $strsectionname = get_string('sectionname', 'format_'.$course->format); $strchats = get_string('modulenameplural', 'chat'); $strchat = get_string('modulename', 'chat'); /// Print the header $PAGE->navbar->add($strchats); $PAGE->set_title($strchats); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); /// Get all the appropriate data if (! $chats = get_all_instances_in_course('chat', $course)) { notice(get_string('thereareno', 'moodle', $strchats), "../../course/view.php?id=$course->id"); die(); } $usesections = course_format_uses_sections($course->format); /// Print the list of instances (your module will probably extend this) $timenow = time(); $strname = get_string('name'); $table = new html_table(); if ($usesections) { $table->head = array ($strsectionname, $strname); $table->align = array ('center', 'left'); } else { $table->head = array ($strname); $table->align = array ('left'); } $currentsection = ''; foreach ($chats as $chat) { if (!$chat->visible) { //Show dimmed if the mod is hidden $link = "<a class=\"dimmed\" href=\"view.php?id=$chat->coursemodule\">".format_string($chat->name,true)."</a>"; } else { //Show normal if the mod is visible $link = "<a href=\"view.php?id=$chat->coursemodule\">".format_string($chat->name,true)."</a>"; } $printsection = ''; if ($chat->section !== $currentsection) { if ($chat->section) { $printsection = get_section_name($course, $chat->section); } if ($currentsection !== '') { $table->data[] = 'hr'; } $currentsection = $chat->section; } if ($usesections) { $table->data[] = array ($printsection, $link); } else { $table->data[] = array ($link); } } echo '<br />'; echo html_writer::table($table); /// Finish the page echo $OUTPUT->footer();
Close