Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 18.191.44.122
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
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 /
lib /
node_modules /
npm /
node_modules /
bluebird /
js /
release /
[ HOME SHELL ]
Name
Size
Permission
Action
any.js
421
B
-rw-r--r--
assert.js
1.61
KB
-rw-r--r--
async.js
4.05
KB
-rw-r--r--
bind.js
1.92
KB
-rw-r--r--
bluebird.js
291
B
-rw-r--r--
call_get.js
4.25
KB
-rw-r--r--
cancel.js
3.62
KB
-rw-r--r--
catch_filter.js
1.39
KB
-rw-r--r--
context.js
2.33
KB
-rw-r--r--
debuggability.js
29.63
KB
-rw-r--r--
direct_resolve.js
1.36
KB
-rw-r--r--
each.js
789
B
-rw-r--r--
errors.js
3.63
KB
-rw-r--r--
es5.js
1.93
KB
-rw-r--r--
filter.js
314
B
-rw-r--r--
finally.js
4.5
KB
-rw-r--r--
generators.js
7.58
KB
-rw-r--r--
join.js
8.03
KB
-rw-r--r--
map.js
5.25
KB
-rw-r--r--
method.js
1.73
KB
-rw-r--r--
nodeback.js
1.52
KB
-rw-r--r--
nodeify.js
1.61
KB
-rw-r--r--
promise.js
25.59
KB
-rw-r--r--
promise_array.js
5.08
KB
-rw-r--r--
promisify.js
11.9
KB
-rw-r--r--
props.js
3.04
KB
-rw-r--r--
queue.js
1.83
KB
-rw-r--r--
race.js
1.22
KB
-rw-r--r--
reduce.js
5.01
KB
-rw-r--r--
schedule.js
2.1
KB
-rw-r--r--
settle.js
1.23
KB
-rw-r--r--
some.js
3.87
KB
-rw-r--r--
synchronous_inspection.js
2.75
KB
-rw-r--r--
thenables.js
2.08
KB
-rw-r--r--
timers.js
2.34
KB
-rw-r--r--
using.js
7.35
KB
-rw-r--r--
util.js
10.28
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reduce.js
"use strict"; module.exports = function(Promise, PromiseArray, apiRejection, tryConvertToPromise, INTERNAL, debug) { var getDomain = Promise._getDomain; var util = require("./util"); var tryCatch = util.tryCatch; function ReductionPromiseArray(promises, fn, initialValue, _each) { this.constructor$(promises); var domain = getDomain(); this._fn = domain === null ? fn : util.domainBind(domain, fn); if (initialValue !== undefined) { initialValue = Promise.resolve(initialValue); initialValue._attachCancellationCallback(this); } this._initialValue = initialValue; this._currentCancellable = null; if(_each === INTERNAL) { this._eachValues = Array(this._length); } else if (_each === 0) { this._eachValues = null; } else { this._eachValues = undefined; } this._promise._captureStackTrace(); this._init$(undefined, -5); } util.inherits(ReductionPromiseArray, PromiseArray); ReductionPromiseArray.prototype._gotAccum = function(accum) { if (this._eachValues !== undefined && this._eachValues !== null && accum !== INTERNAL) { this._eachValues.push(accum); } }; ReductionPromiseArray.prototype._eachComplete = function(value) { if (this._eachValues !== null) { this._eachValues.push(value); } return this._eachValues; }; ReductionPromiseArray.prototype._init = function() {}; ReductionPromiseArray.prototype._resolveEmptyArray = function() { this._resolve(this._eachValues !== undefined ? this._eachValues : this._initialValue); }; ReductionPromiseArray.prototype.shouldCopyValues = function () { return false; }; ReductionPromiseArray.prototype._resolve = function(value) { this._promise._resolveCallback(value); this._values = null; }; ReductionPromiseArray.prototype._resultCancelled = function(sender) { if (sender === this._initialValue) return this._cancel(); if (this._isResolved()) return; this._resultCancelled$(); if (this._currentCancellable instanceof Promise) { this._currentCancellable.cancel(); } if (this._initialValue instanceof Promise) { this._initialValue.cancel(); } }; ReductionPromiseArray.prototype._iterate = function (values) { this._values = values; var value; var i; var length = values.length; if (this._initialValue !== undefined) { value = this._initialValue; i = 0; } else { value = Promise.resolve(values[0]); i = 1; } this._currentCancellable = value; if (!value.isRejected()) { for (; i < length; ++i) { var ctx = { accum: null, value: values[i], index: i, length: length, array: this }; value = value._then(gotAccum, undefined, undefined, ctx, undefined); } } if (this._eachValues !== undefined) { value = value ._then(this._eachComplete, undefined, undefined, this, undefined); } value._then(completed, completed, undefined, value, this); }; Promise.prototype.reduce = function (fn, initialValue) { return reduce(this, fn, initialValue, null); }; Promise.reduce = function (promises, fn, initialValue, _each) { return reduce(promises, fn, initialValue, _each); }; function completed(valueOrReason, array) { if (this.isFulfilled()) { array._resolve(valueOrReason); } else { array._reject(valueOrReason); } } function reduce(promises, fn, initialValue, _each) { if (typeof fn !== "function") { return apiRejection("expecting a function but got " + util.classString(fn)); } var array = new ReductionPromiseArray(promises, fn, initialValue, _each); return array.promise(); } function gotAccum(accum) { this.accum = accum; this.array._gotAccum(accum); var value = tryConvertToPromise(this.value, this.array._promise); if (value instanceof Promise) { this.array._currentCancellable = value; return value._then(gotValue, undefined, undefined, this, undefined); } else { return gotValue.call(this, value); } } function gotValue(value) { var array = this.array; var promise = array._promise; var fn = tryCatch(array._fn); promise._pushContext(); var ret; if (array._eachValues !== undefined) { ret = fn.call(promise._boundValue(), value, this.index, this.length); } else { ret = fn.call(promise._boundValue(), this.accum, value, this.index, this.length); } if (ret instanceof Promise) { array._currentCancellable = ret; } var promiseCreated = promise._popContext(); debug.checkForgottenReturns( ret, promiseCreated, array._eachValues !== undefined ? "Promise.each" : "Promise.reduce", promise ); return ret; } };
Close