Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
softmedya.net /
node_modules /
tar /
dist /
esm /
Delete
Unzip
Name
Size
Permission
Date
Action
create.d.ts
165
B
-rw-r--r--
2025-10-09 13:40
create.d.ts.map
192
B
-rw-r--r--
2025-10-09 13:40
create.js
2.11
KB
-rw-r--r--
2025-10-09 13:40
create.js.map
5.2
KB
-rw-r--r--
2025-10-09 13:40
cwd-error.d.ts
214
B
-rw-r--r--
2025-10-09 13:40
cwd-error.d.ts.map
283
B
-rw-r--r--
2025-10-09 13:40
cwd-error.js
310
B
-rw-r--r--
2025-10-09 13:40
cwd-error.js.map
727
B
-rw-r--r--
2025-10-09 13:40
extract.d.ts
177
B
-rw-r--r--
2025-10-09 13:40
extract.d.ts.map
194
B
-rw-r--r--
2025-10-09 13:40
extract.js
1.65
KB
-rw-r--r--
2025-10-09 13:40
extract.js.map
3.55
KB
-rw-r--r--
2025-10-09 13:40
get-write-flag.d.ts
130
B
-rw-r--r--
2025-10-09 13:40
get-write-flag.d.ts.map
168
B
-rw-r--r--
2025-10-09 13:40
get-write-flag.js
1018
B
-rw-r--r--
2025-10-09 13:40
get-write-flag.js.map
1.89
KB
-rw-r--r--
2025-10-09 13:40
header.d.ts
1.46
KB
-rw-r--r--
2025-10-09 13:40
header.d.ts.map
1.79
KB
-rw-r--r--
2025-10-09 13:40
header.js
10.36
KB
-rw-r--r--
2025-10-09 13:40
header.js.map
23.63
KB
-rw-r--r--
2025-10-09 13:40
index.d.ts
945
B
-rw-r--r--
2025-10-09 13:40
index.d.ts.map
827
B
-rw-r--r--
2025-10-09 13:40
index.js
647
B
-rw-r--r--
2025-10-09 13:40
index.js.map
1.59
KB
-rw-r--r--
2025-10-09 13:40
large-numbers.d.ts
275
B
-rw-r--r--
2025-10-09 13:40
large-numbers.d.ts.map
218
B
-rw-r--r--
2025-10-09 13:40
large-numbers.js
2.52
KB
-rw-r--r--
2025-10-09 13:40
large-numbers.js.map
5.76
KB
-rw-r--r--
2025-10-09 13:40
list.d.ts
297
B
-rw-r--r--
2025-10-09 13:40
list.d.ts.map
287
B
-rw-r--r--
2025-10-09 13:40
list.js
3.24
KB
-rw-r--r--
2025-10-09 13:40
list.js.map
7.17
KB
-rw-r--r--
2025-10-09 13:40
make-command.d.ts
4.62
KB
-rw-r--r--
2025-10-09 13:40
make-command.d.ts.map
4.3
KB
-rw-r--r--
2025-10-09 13:40
make-command.js
1.83
KB
-rw-r--r--
2025-10-09 13:40
make-command.js.map
8.86
KB
-rw-r--r--
2025-10-09 13:40
mkdir.d.ts
1008
B
-rw-r--r--
2025-10-09 13:40
mkdir.d.ts.map
749
B
-rw-r--r--
2025-10-09 13:40
mkdir.js
5.6
KB
-rw-r--r--
2025-10-09 13:40
mkdir.js.map
12.96
KB
-rw-r--r--
2025-10-09 13:40
mode-fix.d.ts
129
B
-rw-r--r--
2025-10-09 13:40
mode-fix.d.ts.map
174
B
-rw-r--r--
2025-10-09 13:40
mode-fix.js
753
B
-rw-r--r--
2025-10-09 13:40
mode-fix.js.map
1.36
KB
-rw-r--r--
2025-10-09 13:40
normalize-unicode.d.ts
109
B
-rw-r--r--
2025-10-09 13:40
normalize-unicode.d.ts.map
179
B
-rw-r--r--
2025-10-09 13:40
normalize-unicode.js
869
B
-rw-r--r--
2025-10-09 13:40
normalize-unicode.js.map
1.79
KB
-rw-r--r--
2025-10-09 13:40
normalize-windows-path.d.ts
118
B
-rw-r--r--
2025-10-09 13:40
normalize-windows-path.d.ts.map
184
B
-rw-r--r--
2025-10-09 13:40
normalize-windows-path.js
490
B
-rw-r--r--
2025-10-09 13:40
normalize-windows-path.js.map
950
B
-rw-r--r--
2025-10-09 13:40
options.d.ts
23.34
KB
-rw-r--r--
2025-10-09 13:40
options.d.ts.map
5.76
KB
-rw-r--r--
2025-10-09 13:40
options.js
1.6
KB
-rw-r--r--
2025-10-09 13:40
options.js.map
26.48
KB
-rw-r--r--
2025-10-09 13:40
pack.d.ts
3.66
KB
-rw-r--r--
2025-10-09 13:40
pack.d.ts.map
3.73
KB
-rw-r--r--
2025-10-09 13:40
pack.js
13.52
KB
-rw-r--r--
2025-10-09 13:40
pack.js.map
28.82
KB
-rw-r--r--
2025-10-09 13:40
package.json
23
B
-rw-r--r--
2025-10-09 13:40
parse.d.ts
3.46
KB
-rw-r--r--
2025-10-09 13:40
parse.d.ts.map
3.64
KB
-rw-r--r--
2025-10-09 13:40
parse.js
22.31
KB
-rw-r--r--
2025-10-09 13:40
parse.js.map
41.18
KB
-rw-r--r--
2025-10-09 13:40
path-reservations.d.ts
314
B
-rw-r--r--
2025-10-09 13:40
path-reservations.d.ts.map
419
B
-rw-r--r--
2025-10-09 13:40
path-reservations.js
5.33
KB
-rw-r--r--
2025-10-09 13:40
path-reservations.js.map
10.69
KB
-rw-r--r--
2025-10-09 13:40
pax.d.ts
778
B
-rw-r--r--
2025-10-09 13:40
pax.d.ts.map
883
B
-rw-r--r--
2025-10-09 13:40
pax.js
4.64
KB
-rw-r--r--
2025-10-09 13:40
pax.js.map
9.85
KB
-rw-r--r--
2025-10-09 13:40
read-entry.d.ts
1012
B
-rw-r--r--
2025-10-09 13:40
read-entry.d.ts.map
1.15
KB
-rw-r--r--
2025-10-09 13:40
read-entry.js
4.08
KB
-rw-r--r--
2025-10-09 13:40
read-entry.js.map
8
KB
-rw-r--r--
2025-10-09 13:40
replace.d.ts
121
B
-rw-r--r--
2025-10-09 13:40
replace.d.ts.map
144
B
-rw-r--r--
2025-10-09 13:40
replace.js
7.04
KB
-rw-r--r--
2025-10-09 13:40
replace.js.map
14.94
KB
-rw-r--r--
2025-10-09 13:40
strip-absolute-path.d.ts
117
B
-rw-r--r--
2025-10-09 13:40
strip-absolute-path.d.ts.map
178
B
-rw-r--r--
2025-10-09 13:40
strip-absolute-path.js
1.04
KB
-rw-r--r--
2025-10-09 13:40
strip-absolute-path.js.map
1.88
KB
-rw-r--r--
2025-10-09 13:40
strip-trailing-slashes.d.ts
120
B
-rw-r--r--
2025-10-09 13:40
strip-trailing-slashes.d.ts.map
183
B
-rw-r--r--
2025-10-09 13:40
strip-trailing-slashes.js
489
B
-rw-r--r--
2025-10-09 13:40
strip-trailing-slashes.js.map
1.03
KB
-rw-r--r--
2025-10-09 13:40
symlink-error.d.ts
261
B
-rw-r--r--
2025-10-09 13:40
symlink-error.d.ts.map
321
B
-rw-r--r--
2025-10-09 13:40
symlink-error.js
390
B
-rw-r--r--
2025-10-09 13:40
symlink-error.js.map
837
B
-rw-r--r--
2025-10-09 13:40
types.d.ts
841
B
-rw-r--r--
2025-10-09 13:40
types.d.ts.map
767
B
-rw-r--r--
2025-10-09 13:40
types.js
1.25
KB
-rw-r--r--
2025-10-09 13:40
types.js.map
3.42
KB
-rw-r--r--
2025-10-09 13:40
unpack.d.ts
3.57
KB
-rw-r--r--
2025-10-09 13:40
unpack.d.ts.map
3.75
KB
-rw-r--r--
2025-10-09 13:40
unpack.js
29.5
KB
-rw-r--r--
2025-10-09 13:40
unpack.js.map
56.84
KB
-rw-r--r--
2025-10-09 13:40
update.d.ts
119
B
-rw-r--r--
2025-10-09 13:40
update.d.ts.map
140
B
-rw-r--r--
2025-10-09 13:40
update.js
1006
B
-rw-r--r--
2025-10-09 13:40
update.js.map
2.27
KB
-rw-r--r--
2025-10-09 13:40
warn-method.d.ts
929
B
-rw-r--r--
2025-10-09 13:40
warn-method.d.ts.map
1.09
KB
-rw-r--r--
2025-10-09 13:40
warn-method.js
795
B
-rw-r--r--
2025-10-09 13:40
warn-method.js.map
2.53
KB
-rw-r--r--
2025-10-09 13:40
winchars.d.ts
142
B
-rw-r--r--
2025-10-09 13:40
winchars.d.ts.map
195
B
-rw-r--r--
2025-10-09 13:40
winchars.js
549
B
-rw-r--r--
2025-10-09 13:40
winchars.js.map
1.6
KB
-rw-r--r--
2025-10-09 13:40
write-entry.d.ts
4.49
KB
-rw-r--r--
2025-10-09 13:40
write-entry.d.ts.map
4.72
KB
-rw-r--r--
2025-10-09 13:40
write-entry.js
22.25
KB
-rw-r--r--
2025-10-09 13:40
write-entry.js.map
47.25
KB
-rw-r--r--
2025-10-09 13:40
Save
Rename
// A path exclusive reservation system // reserve([list, of, paths], fn) // When the fn is first in line for all its paths, it // is called with a cb that clears the reservation. // // Used by async unpack to avoid clobbering paths in use, // while still allowing maximal safe parallelization. import { join } from 'node:path'; import { normalizeUnicode } from './normalize-unicode.js'; import { stripTrailingSlashes } from './strip-trailing-slashes.js'; const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform; const isWindows = platform === 'win32'; // return a set of parent dirs for a given path // '/a/b/c/d' -> ['/', '/a', '/a/b', '/a/b/c', '/a/b/c/d'] const getDirs = (path) => { const dirs = path .split('/') .slice(0, -1) .reduce((set, path) => { const s = set[set.length - 1]; if (s !== undefined) { path = join(s, path); } set.push(path || '/'); return set; }, []); return dirs; }; export class PathReservations { // path => [function or Set] // A Set object means a directory reservation // A fn is a direct reservation on that path #queues = new Map(); // fn => {paths:[path,...], dirs:[path, ...]} #reservations = new Map(); // functions currently running #running = new Set(); reserve(paths, fn) { paths = isWindows ? ['win32 parallelization disabled'] : paths.map(p => { // don't need normPath, because we skip this entirely for windows return stripTrailingSlashes(join(normalizeUnicode(p))).toLowerCase(); }); const dirs = new Set(paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b))); this.#reservations.set(fn, { dirs, paths }); for (const p of paths) { const q = this.#queues.get(p); if (!q) { this.#queues.set(p, [fn]); } else { q.push(fn); } } for (const dir of dirs) { const q = this.#queues.get(dir); if (!q) { this.#queues.set(dir, [new Set([fn])]); } else { const l = q[q.length - 1]; if (l instanceof Set) { l.add(fn); } else { q.push(new Set([fn])); } } } return this.#run(fn); } // return the queues for each path the function cares about // fn => {paths, dirs} #getQueues(fn) { const res = this.#reservations.get(fn); /* c8 ignore start */ if (!res) { throw new Error('function does not have any path reservations'); } /* c8 ignore stop */ return { paths: res.paths.map((path) => this.#queues.get(path)), dirs: [...res.dirs].map(path => this.#queues.get(path)), }; } // check if fn is first in line for all its paths, and is // included in the first set for all its dir queues check(fn) { const { paths, dirs } = this.#getQueues(fn); return (paths.every(q => q && q[0] === fn) && dirs.every(q => q && q[0] instanceof Set && q[0].has(fn))); } // run the function if it's first in line and not already running #run(fn) { if (this.#running.has(fn) || !this.check(fn)) { return false; } this.#running.add(fn); fn(() => this.#clear(fn)); return true; } #clear(fn) { if (!this.#running.has(fn)) { return false; } const res = this.#reservations.get(fn); /* c8 ignore start */ if (!res) { throw new Error('invalid reservation'); } /* c8 ignore stop */ const { paths, dirs } = res; const next = new Set(); for (const path of paths) { const q = this.#queues.get(path); /* c8 ignore start */ if (!q || q?.[0] !== fn) { continue; } /* c8 ignore stop */ const q0 = q[1]; if (!q0) { this.#queues.delete(path); continue; } q.shift(); if (typeof q0 === 'function') { next.add(q0); } else { for (const f of q0) { next.add(f); } } } for (const dir of dirs) { const q = this.#queues.get(dir); const q0 = q?.[0]; /* c8 ignore next - type safety only */ if (!q || !(q0 instanceof Set)) continue; if (q0.size === 1 && q.length === 1) { this.#queues.delete(dir); continue; } else if (q0.size === 1) { q.shift(); // next one must be a function, // or else the Set would've been reused const n = q[0]; if (typeof n === 'function') { next.add(n); } } else { q0.delete(fn); } } this.#running.delete(fn); next.forEach(fn => this.#run(fn)); return true; } } //# sourceMappingURL=path-reservations.js.map