Linux bear.hostingplus.cl 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
LiteSpeed
Server IP : 192.140.57.17 & Your IP : 216.73.216.106
Domains :
Cant Read [ /etc/named.conf ]
User : explo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bitninja-threat-hunting /
node_modules /
ws /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
buffer-util.js
2.9
KB
-rw-r--r--
2024-07-01 08:57
constants.js
360
B
-rw-r--r--
2024-07-01 08:57
event-target.js
7.15
KB
-rw-r--r--
2024-07-01 08:57
extension.js
6.04
KB
-rw-r--r--
2024-07-01 08:57
limiter.js
1.01
KB
-rw-r--r--
2024-07-01 08:57
permessage-deflate.js
13.69
KB
-rw-r--r--
2024-07-01 08:57
receiver.js
14.17
KB
-rw-r--r--
2024-07-01 08:57
sender.js
12.37
KB
-rw-r--r--
2024-07-01 08:57
stream.js
3.99
KB
-rw-r--r--
2024-07-01 08:57
subprotocol.js
1.46
KB
-rw-r--r--
2024-07-01 08:57
validation.js
3.12
KB
-rw-r--r--
2024-07-01 08:57
websocket-server.js
15.46
KB
-rw-r--r--
2024-07-01 08:57
websocket.js
33.07
KB
-rw-r--r--
2024-07-01 08:57
Save
Rename
'use strict'; const kDone = Symbol('kDone'); const kRun = Symbol('kRun'); /** * A very simple job queue with adjustable concurrency. Adapted from * https://github.com/STRML/async-limiter */ class Limiter { /** * Creates a new `Limiter`. * * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed * to run concurrently */ constructor(concurrency) { this[kDone] = () => { this.pending--; this[kRun](); }; this.concurrency = concurrency || Infinity; this.jobs = []; this.pending = 0; } /** * Adds a job to the queue. * * @param {Function} job The job to run * @public */ add(job) { this.jobs.push(job); this[kRun](); } /** * Removes a job from the queue and runs it if possible. * * @private */ [kRun]() { if (this.pending === this.concurrency) return; if (this.jobs.length) { const job = this.jobs.shift(); this.pending++; job(this[kDone]); } } } module.exports = Limiter;