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 /
9c /
10 /
[ HOME SHELL ]
Name
Size
Permission
Action
9c10970afb41c6affdb9067e9ec790...
3.53
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 9c10970afb41c6affdb9067e9ec790856bea3d68
var H5P = H5P || {}; H5P.ImageSlide = (function ($) { /** * Constructor function. */ function C(options, contentId, extras) { var self = this; this.$ = $(this); H5P.EventDispatcher.call(this); this.aspectRatio = this.originalAspectRatio = extras.aspectRatio; // Extend defaults with provided options this.options = $.extend(true, {}, { image: null, }, options); // Keep provided id. this.contentId = contentId; this.image = H5P.newRunnable(this.options.image, this.contentId); this.image.on('loaded', function() { self.trigger('loaded'); self.trigger('resize'); }); } C.prototype = Object.create(H5P.EventDispatcher.prototype); C.prototype.constructor = C; /** * Attach function called by H5P framework to insert H5P content into * page * * @param {jQuery} $container */ C.prototype.attach = function ($container) { this.$container = $container; // Set class on container to identify it as a greeting card // container. Allows for styling later. $container.addClass("h5p-image-slide"); this.$imageHolder = $('<div>', { class: 'h5p-image-slide-image-holder', }); $container.append(this.$imageHolder); // Add image this.image.attach(this.$imageHolder); this.adjustSize(); }; /** * Set the ascpect ratio for this slide * * @param {Integer} newAspectRatio the aspect ratio */ C.prototype.setAspectRatio = function(newAspectRatio) { this.aspectRatio = newAspectRatio; // Adjust size if image has been attached if (this.$imageHolder) { this.adjustSize(); } }; /** * Reset the aspect ratio to the previously set aspect ratio * * Typically used when exiting fullscreen mode */ C.prototype.resetAspectRatio = function() { this.aspectRatio = this.originalAspectRatio; // Adjust size if image has been attached if (this.$imageHolder) { this.adjustSize(); } }; /** * Update the size of the slide * * Typically used when the screen resizes, goes to fullscreen or similar */ C.prototype.adjustSize = function() { var imageHeight = this.options.image.params.file.height; var imageWidth = this.options.image.params.file.width; var imageAspectRatio = imageWidth / imageHeight; if (this.aspectRatio >= imageAspectRatio) { // image too tall - Make it smaller and center it var widthInPercent = imageAspectRatio / this.aspectRatio * 100; var borderSize = (100 - widthInPercent) / 2 + '%'; this.$imageHolder.css({ height: '100%', width: imageAspectRatio / this.aspectRatio * 100 + '%', paddingLeft: borderSize, paddingRight: borderSize, paddingTop: 0, paddingBottom: 0 }); } else if (this.aspectRatio < imageAspectRatio) { // image too wide var heightInPercent = this.aspectRatio / imageAspectRatio * 100; // Note: divide by aspect ratio since padding top/bottom is relative to width var borderSize = (100 - heightInPercent) / 2 / this.aspectRatio + '%'; this.$imageHolder.css({ width: '100%', height: heightInPercent + '%', paddingTop: borderSize, paddingBottom: borderSize, paddingLeft: 0, paddingRight: 0 }); } else if (this.aspectRatio === undefined) { this.$imageHolder.css({ width: '100%', height: '', paddingTop: 0, paddingBottom: 0, paddingLeft: 0, paddingRight: 0 }); } }; return C; })(H5P.jQuery);
Close