Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
libtap /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
base.js
8.66
KB
-rw-r--r--
2023-12-12 09:48
clean-yaml-object.js
4.04
KB
-rw-r--r--
2023-12-12 09:48
diags.js
130
B
-rw-r--r--
2023-12-12 09:48
esc.js
134
B
-rw-r--r--
2023-12-12 09:48
extra-from-error.js
1.93
KB
-rw-r--r--
2023-12-12 09:48
fake-process.js
162
B
-rw-r--r--
2023-12-12 09:48
find-main-script.js
292
B
-rw-r--r--
2023-12-12 09:48
fixture.js
2.28
KB
-rw-r--r--
2023-12-12 09:48
mock.js
2.82
KB
-rw-r--r--
2023-12-12 09:48
obj-to-yaml.js
371
B
-rw-r--r--
2023-12-12 09:48
parse-test-args.js
1.42
KB
-rw-r--r--
2023-12-12 09:48
point.js
1.12
KB
-rw-r--r--
2023-12-12 09:48
process.js
99
B
-rw-r--r--
2023-12-12 09:48
snapshot.js
3.01
KB
-rw-r--r--
2023-12-12 09:48
spawn.js
4.38
KB
-rw-r--r--
2023-12-12 09:48
stack.js
117
B
-rw-r--r--
2023-12-12 09:48
stdin.js
875
B
-rw-r--r--
2023-12-12 09:48
tap.js
6.06
KB
-rw-r--r--
2023-12-12 09:48
tap.mjs
623
B
-rw-r--r--
2023-12-12 09:48
test.js
50.31
KB
-rw-r--r--
2023-12-12 09:48
waiter.js
1.13
KB
-rw-r--r--
2023-12-12 09:48
Save
Rename
class Waiter { constructor (promise, cb, expectReject) { this.cb = cb this.ready = false this.value = null this.resolved = false this.rejected = false this.done = false this.finishing = false this.expectReject = !!expectReject this.promise = new Promise(res => this.resolve = res) promise.then(value => { if (this.done) { return } this.resolved = true this.value = value this.done = true this.finish() }).catch(er => this.reject(er)) } reject (er) { if (this.done) { return } this.value = er this.rejected = true this.done = true this.finish() } abort (er) { if (this.done) { return } this.ready = true this.finishing = false this.done = true this.value = er // make it clear that this is a problem by doing // the opposite of what was requested. this.rejected = !this.expectReject return this.finish() } finish () { if (this.ready && this.done && !this.finishing) { this.finishing = true this.cb(this) this.resolve() } } } module.exports = Waiter;