Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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 /
nodejs /
call-limit /
[ HOME SHELL ]
Name
Size
Permission
Action
call-limit.js
2.27
KB
-rw-r--r--
package.json
599
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : call-limit.js
"use strict" var defaultMaxRunning = 50 var limit = module.exports = function (func, maxRunning) { var running = 0 var queue = [] if (!maxRunning) maxRunning = defaultMaxRunning return function limited () { var self = this var args = Array.prototype.slice.call(arguments) if (running >= maxRunning) { queue.push({self: this, args: args}) return } var cb = typeof args[args.length-1] === 'function' && args.pop() ++ running args.push(function () { var cbargs = arguments -- running cb && process.nextTick(function () { cb.apply(self, cbargs) }) if (queue.length) { var next = queue.shift() limited.apply(next.self, next.args) } }) func.apply(self, args) } } module.exports.method = function (classOrObj, method, maxRunning) { if (typeof classOrObj === 'function') { var func = classOrObj.prototype[method] classOrObj.prototype[method] = limit(func, maxRunning) } else { var func = classOrObj[method] classOrObj[method] = limit(func, maxRunning) } } module.exports.promise = function (func, maxRunning) { var running = 0 var queue = [] if (!maxRunning) maxRunning = defaultMaxRunning return function () { var self = this var args = Array.prototype.slice.call(arguments) return new Promise(function (resolve) { if (running >= maxRunning) { queue.push({self: self, args: args, resolve: resolve}) return } else { runNext(self, args, resolve) } function runNext (self, args, resolve) { ++ running resolve( func.apply(self, args) .then(finish, function (err) { finish(err) throw err })) } function finish () { -- running if (queue.length) { var next = queue.shift() process.nextTick(runNext, next.self, next.args, next.resolve) } } }) } } module.exports.promise.method = function (classOrObj, method, maxRunning) { if (typeof classOrObj === 'function') { var func = classOrObj.prototype[method] classOrObj.prototype[method] = limit.promise(func, maxRunning) } else { var func = classOrObj[method] classOrObj[method] = limit.promise(func, maxRunning) } }
Close