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 /
quiz /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
accessrule
[ DIR ]
drwxrwxrwx
backup
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
report
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
yui
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
accessmanager.php
18.23
KB
-rwxrwxrwx
accessmanager_form.php
2.33
KB
-rwxrwxrwx
addrandom.php
4.51
KB
-rwxrwxrwx
addrandomform.php
3.36
KB
-rwxrwxrwx
attempt.php
5.28
KB
-rwxrwxrwx
attemptlib.php
62.21
KB
-rwxrwxrwx
autosave.ajax.php
2.13
KB
-rwxrwxrwx
comment.php
3.47
KB
-rwxrwxrwx
cronlib.php
4.53
KB
-rwxrwxrwx
edit.js
6.28
KB
-rwxrwxrwx
edit.php
22.22
KB
-rwxrwxrwx
editlib.php
52.23
KB
-rwxrwxrwx
grade.php
3.49
KB
-rwxrwxrwx
index.php
6.24
KB
-rwxrwxrwx
lib.php
63.63
KB
-rwxrwxrwx
locallib.php
63.94
KB
-rwxrwxrwx
mod_form.php
27.38
KB
-rwxrwxrwx
module.js
10.14
KB
-rwxrwxrwx
override_form.php
10.17
KB
-rwxrwxrwx
overridedelete.php
3.23
KB
-rwxrwxrwx
overrideedit.php
6.09
KB
-rwxrwxrwx
overrides.php
9.98
KB
-rwxrwxrwx
processattempt.php
6.59
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
47.86
KB
-rwxrwxrwx
report.php
3.28
KB
-rwxrwxrwx
review.php
9.18
KB
-rwxrwxrwx
reviewquestion.php
3.4
KB
-rwxrwxrwx
settings.php
11.15
KB
-rwxrwxrwx
settingslib.php
7.05
KB
-rwxrwxrwx
startattempt.php
9.94
KB
-rwxrwxrwx
styles.css
30.68
KB
-rwxrwxrwx
summary.php
3.44
KB
-rwxrwxrwx
upgrade.txt
243
B
-rwxrwxrwx
version.php
1.2
KB
-rwxrwxrwx
view.php
9.28
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit.js
// 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/>. /** * JavaScript library for the quiz module editing interface. * * @package mod * @subpackage quiz * @copyright 2008 Olli Savolainen * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // Initialise everything on the quiz edit/order and paging page. var quiz_edit = {}; function quiz_edit_init(Y) { M.core_scroll_manager.scroll_to_saved_pos(Y); Y.on('submit', function(e) { M.core_scroll_manager.save_scroll_pos(Y, 'id_existingcategory'); }, '#mform1'); Y.on('submit', function(e) { M.core_scroll_manager.save_scroll_pos(Y, e.target.get('firstChild')); }, '.quizsavegradesform'); // Add random question dialogue -------------------------------------------- var randomquestiondialog = Y.YUI2.util.Dom.get('randomquestiondialog'); if (randomquestiondialog) { Y.YUI2.util.Dom.get(document.body).appendChild(randomquestiondialog); } quiz_edit.randomquestiondialog = new Y.YUI2.widget.Dialog('randomquestiondialog', { modal: true, width: '100%', iframe: true, zIndex: 1000, // zIndex must be way above 99 to be above the active quiz tab fixedcenter: true, visible: false, close: true, constraintoviewport: true, postmethod: 'form' }); quiz_edit.randomquestiondialog.render(); var div = document.getElementById('randomquestiondialog'); if (div) { div.style.display = 'block'; } // Show the form on button click. Y.YUI2.util.Event.addListener(quiz_edit_config.dialoglisteners, 'click', function(e) { // Transfer the page number from the button form to the pop-up form. var addrandombutton = Y.YUI2.util.Event.getTarget(e); var addpagehidden = Y.YUI2.util.Dom.getElementsByClassName('addonpage_formelement', 'input', addrandombutton.form); document.getElementById('rform_qpage').value = addpagehidden[0].value; // Show the dialogue and stop the default action. quiz_edit.randomquestiondialog.show(); Y.YUI2.util.Event.stopEvent(e); }); // Make escape close the dialogue. quiz_edit.randomquestiondialog.cfg.setProperty('keylisteners', [new Y.YUI2.util.KeyListener( document, {keys:[27]}, function(types, args, obj) { quiz_edit.randomquestiondialog.hide(); })]); // Make the form cancel button close the dialogue. Y.YUI2.util.Event.addListener('id_cancel', 'click', function(e) { quiz_edit.randomquestiondialog.hide(); Y.YUI2.util.Event.preventDefault(e); }); Y.YUI2.util.Event.addListener('id_existingcategory', 'click', quiz_yui_workaround); Y.YUI2.util.Event.addListener('id_newcategory', 'click', quiz_yui_workaround); // Repaginate dialogue ----------------------------------------------------- quiz_edit.repaginatedialog = new Y.YUI2.widget.Dialog('repaginatedialog', { modal: true, width: '30em', iframe: true, zIndex: 1000, context: ['repaginatecommand', 'tr', 'br', ['beforeShow']], visible: false, close: true, constraintoviewport: true, postmethod: 'form' }); quiz_edit.repaginatedialog.render(); quiz_edit.randomquestiondialog.render(); var div = document.getElementById('repaginatedialog'); if (div) { div.style.display = 'block'; } // Show the form on button click. Y.YUI2.util.Event.addListener('repaginatecommand', 'click', function() { quiz_edit.repaginatedialog.show(); }); // Reposition the dialogue when the window resizes. For some reason this was not working automatically. Y.YUI2.widget.Overlay.windowResizeEvent.subscribe(function() { quiz_edit.repaginatedialog.cfg.setProperty('context', ['repaginatecommand', 'tr', 'br', ['beforeShow']]); }); // Make escape close the dialogue. quiz_edit.repaginatedialog.cfg.setProperty('keylisteners', [new Y.YUI2.util.KeyListener( document, {keys:[27]}, function(types, args, obj) { quiz_edit.repaginatedialog.hide(); })]); // Nasty hack, remove once the YUI bug causing MDL-17594 is fixed. // https://sourceforge.net/tracker/index.php?func=detail&aid=2493426&group_id=165715&atid=836476 var elementcauseinglayoutproblem = document.getElementById('_yuiResizeMonitor'); if (elementcauseinglayoutproblem) { elementcauseinglayoutproblem.style.left = '0px'; } } function quiz_yui_workaround(e) { YUI().use('yui2-event', function(Y) { // YUI does not send the button pressed with the form submission, so copy // the button name to a hidden input. var submitbutton = Y.YUI2.util.Event.getTarget(e); var input = document.createElement('input'); input.type = 'hidden'; input.name = submitbutton.name; input.value = 1; submitbutton.form.appendChild(input); }); } // Initialise everything on the quiz settings form. function quiz_settings_init(Y) { var repaginatecheckbox = document.getElementById('id_repaginatenow'); if (!repaginatecheckbox) { // This checkbox does not appear on the create new quiz form. return; } var qppselect = document.getElementById('id_questionsperpage'); var qppinitialvalue = qppselect.value; Y.YUI2.util.Event.addListener([qppselect, 'id_shufflequestions'] , 'change', function() { setTimeout(function() { // Annoyingly, this handler runs before the formlib disabledif code, hence the timeout. if (!repaginatecheckbox.disabled) { repaginatecheckbox.checked = qppselect.value != qppinitialvalue; } }, 50); }); }
Close