Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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 /
share /
nodejs /
npm /
lib /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
completion
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
ansi-trim.js
173
B
-rw-r--r--
audit-error.js
978
B
-rw-r--r--
cmd-list.js
2.5
KB
-rw-r--r--
completion.sh
1.84
KB
-rw-r--r--
deref-command.js
779
B
-rw-r--r--
did-you-mean.js
1.46
KB
-rw-r--r--
display.js
2.89
KB
-rw-r--r--
error-message.js
12.79
KB
-rw-r--r--
exit-handler.js
5.28
KB
-rw-r--r--
explain-dep.js
3.47
KB
-rw-r--r--
explain-eresolve.js
2.56
KB
-rw-r--r--
file-exists.js
217
B
-rw-r--r--
format-bytes.js
621
B
-rw-r--r--
get-identity.js
1.29
KB
-rw-r--r--
hosted-git-info-from-manifest....
588
B
-rw-r--r--
is-windows-bash.js
155
B
-rw-r--r--
is-windows-shell.js
144
B
-rw-r--r--
is-windows.js
46
B
-rw-r--r--
log-file.js
7.03
KB
-rw-r--r--
log-shim.js
1.68
KB
-rw-r--r--
npm-usage.js
1.98
KB
-rw-r--r--
open-url.js
1.17
KB
-rw-r--r--
otplease.js
620
B
-rw-r--r--
path.js
196
B
-rw-r--r--
ping.js
252
B
-rw-r--r--
pulse-till-done.js
412
B
-rw-r--r--
queryable.js
9.56
KB
-rw-r--r--
read-package-name.js
285
B
-rw-r--r--
read-user-info.js
1.99
KB
-rw-r--r--
reify-finish.js
876
B
-rw-r--r--
reify-output.js
5.04
KB
-rw-r--r--
replace-info.js
778
B
-rw-r--r--
split-package-names.js
618
B
-rw-r--r--
tar.js
3.73
KB
-rw-r--r--
timers.js
2.87
KB
-rw-r--r--
unsupported.js
1.54
KB
-rw-r--r--
update-notifier.js
1.69
KB
-rw-r--r--
usage.js
597
B
-rw-r--r--
validate-lockfile.js
1023
B
-rw-r--r--
with-chown-sync.js
350
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : timers.js
const EE = require('events') const path = require('path') const fs = require('graceful-fs') const log = require('./log-shim') const withChownSync = require('./with-chown-sync.js') const _timeListener = Symbol('timeListener') const _timeEndListener = Symbol('timeEndListener') const _init = Symbol('init') // This is an event emiiter but on/off // only listen on a single internal event that gets // emitted whenever a timer ends class Timers extends EE { #unfinished = new Map() #finished = {} #onTimeEnd = Symbol('onTimeEnd') #dir = null #initialListener = null #initialTimer = null constructor ({ listener = null, start = 'npm' } = {}) { super() this.#initialListener = listener this.#initialTimer = start this[_init]() } get unfinished () { return this.#unfinished } get finished () { return this.#finished } [_init] () { this.on() if (this.#initialListener) { this.on(this.#initialListener) } process.emit('time', this.#initialTimer) this.started = this.#unfinished.get(this.#initialTimer) } on (listener) { if (listener) { super.on(this.#onTimeEnd, listener) } else { process.on('time', this[_timeListener]) process.on('timeEnd', this[_timeEndListener]) } } off (listener) { if (listener) { super.off(this.#onTimeEnd, listener) } else { this.removeAllListeners(this.#onTimeEnd) process.off('time', this[_timeListener]) process.off('timeEnd', this[_timeEndListener]) } } load ({ dir }) { this.#dir = dir } writeFile (fileData) { try { const globalStart = this.started const globalEnd = this.#finished.npm || Date.now() const content = { ...fileData, ...this.#finished, // add any unfinished timers with their relative start/end unfinished: [...this.#unfinished.entries()].reduce((acc, [name, start]) => { acc[name] = [start - globalStart, globalEnd - globalStart] return acc }, {}), } withChownSync( path.resolve(this.#dir, '_timing.json'), (f) => // we append line delimited json to this file...forever // XXX: should we also write a process specific timing file? // with similar rules to the debug log (max files, etc) fs.appendFileSync(f, JSON.stringify(content) + '\n') ) } catch (e) { log.warn('timing', 'could not write timing file', e) } } [_timeListener] = (name) => { this.#unfinished.set(name, Date.now()) } [_timeEndListener] = (name) => { if (this.#unfinished.has(name)) { const ms = Date.now() - this.#unfinished.get(name) this.#finished[name] = ms this.#unfinished.delete(name) this.emit(this.#onTimeEnd, name, ms) } else { log.silly('timing', "Tried to end timer that doesn't exist:", name) } } } module.exports = Timers
Close