Linux moodl-moodle-3s8bw1nuh5yqd9-5b875fdd66-8hs4m 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 x86_64
Apache/2.4.41 (Ubuntu)
: 10.39.0.36 | : 10.36.0.0
Cant Read [ /etc/named.conf ]
7.4.3
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
moodledata /
filedir /
32 /
19 /
[ HOME SHELL ]
Name
Size
Permission
Action
321968866ebf343011b53126580088...
4.19
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 321968866ebf343011b53126580088eba1303f52
var H5P = H5P || {}; /** * Guess the answer module */ H5P.GuessTheAnswer = (function () { /** * Triggers 'resize' event on an instance. Stops infinite loops * by not re-triggering the event, when it comes from a sibling * * @param {object} siblingInstance * @return {Function} */ function triggerResize(siblingInstance) { return function (event) { var fromSibling = event.data && (event.data.fromSibling === true); if (!fromSibling) { siblingInstance.trigger('resize', { fromSibling: true }); } }; } /** * Create the media element * * @param {object} params * @param {number} contentId * @param {object} instance * @return {Element} */ function createMediaElement(params, contentId, instance) { var element = document.createElement('div'); var mediaInstance = H5P.newRunnable(params, contentId, H5P.jQuery(element), true); // Resize this instance, on video resize, and vise versa instance.on('resize', triggerResize(mediaInstance)); mediaInstance.on('resize', triggerResize(instance)); return element; } /** * Initializes the image * * @param {Element} imageElement * @param {object} instance */ function initImage(imageElement, instance) { // if has image, resize on load if (imageElement) { imageElement.style.width = null; imageElement.style.height = null; imageElement.addEventListener('load', function () { instance.trigger('resize'); }, false); } } /** * Simple recusive function the helps set default values without * destroying object references. * * Note: Can be removed if 'babel-plugin-transform-object-assign' is added * * @param {object} params values * @param {object} values default values */ var setDefaults = function (params, values) { for (var prop in values) { if (values.hasOwnProperty(prop)) { if (params[prop] === undefined) { params[prop] = values[prop]; } else if (params[prop] instanceof Object && !(params[prop] instanceof Array)) { setDefaults(params[prop], values[prop]); } } } }; /** * Initialize module. * * @class * @alias H5P.GuessTheAnswer * @param {object} params * @param {number} contentId */ function C(params, contentId) { // Set default behavior. setDefaults(params, { taskDescription: '', solutionLabel: 'Click to see the answer.', solutionText: '' }); // get element references var rootElement = this.rootElement = this.createRootElement(params); var mediaElement = rootElement.querySelector('.media'); var buttonElement = rootElement.querySelector('.show-solution-button'); var solutionElement = rootElement.querySelector('.solution-text'); // add media if (params.media) { var el = createMediaElement(params.media, contentId, this); initImage(el.querySelector('img'), this); mediaElement.appendChild(el); } // add show solution text on button click buttonElement.addEventListener('click', function() { buttonElement.classList.add('hidden'); solutionElement.classList.remove('hidden'); solutionElement.focus(); }); } /** * Creates the root element with the markup for the content type * * @param {object} params * @return {Element} */ C.prototype.createRootElement = function (params) { var element = document.createElement('div'); element.classList.add('h5p-guess-answer'); element.innerHTML = '<div class="h5p-guess-answer-title">' + params.taskDescription +'</div>' + '<div class="media"></div>' + '<button class="show-solution-button">' + params.solutionLabel + '</button>' + '<span class="empty-text-for-nvda"> </span>' + '<div class="solution-text hidden" tabindex="-1">' + params.solutionText + '</div>'; return element; }; /** * Attach function called by H5P framework to insert H5P content into page. * * @param {jQuery} $container The container which will be appended to. */ C.prototype.attach = function ($container) { this.setActivityStarted(); $container.get(0).appendChild(this.rootElement); }; return C; })();
Close