Linux cambridge2.uknoc5.com 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
LiteSpeed
Server IP : 92.48.92.37 & Your IP : 52.14.127.77
Domains :
Cant Read [ /etc/named.conf ]
User : drazizulhaq
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
lib /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
completion
[ DIR ]
drwxr-xr-x
2024-12-16 14:12
ansi-trim.js
211
B
-rw-r--r--
2021-03-10 14:36
cache-file.js
1.7
KB
-rw-r--r--
2021-03-10 14:36
child-path.js
290
B
-rw-r--r--
2021-03-10 14:36
completion.sh
1.74
KB
-rw-r--r--
2021-03-10 14:36
correct-mkdir.js
1.24
KB
-rw-r--r--
2021-03-10 14:36
deep-sort-object.js
363
B
-rw-r--r--
2021-03-10 14:36
depr-check.js
451
B
-rw-r--r--
2021-03-10 14:36
did-you-mean.js
446
B
-rw-r--r--
2021-03-10 14:36
error-handler.js
6.04
KB
-rw-r--r--
2021-03-10 14:36
error-message.js
13.44
KB
-rw-r--r--
2021-03-10 14:36
escape-arg.js
657
B
-rw-r--r--
2021-03-10 14:36
escape-exec-path.js
761
B
-rw-r--r--
2021-03-10 14:36
funding.js
4.48
KB
-rw-r--r--
2021-03-10 14:36
gently-rm.js
484
B
-rw-r--r--
2021-03-10 14:36
git.js
1.7
KB
-rw-r--r--
2021-03-10 14:36
gunzip-maybe.js
556
B
-rw-r--r--
2021-03-10 14:36
is-registry.js
294
B
-rw-r--r--
2021-03-10 14:36
is-windows-bash.js
166
B
-rw-r--r--
2021-03-10 14:36
is-windows-shell.js
153
B
-rw-r--r--
2021-03-10 14:36
is-windows.js
59
B
-rw-r--r--
2021-03-10 14:36
lifecycle-cmd.js
496
B
-rw-r--r--
2021-03-10 14:36
lifecycle.js
364
B
-rw-r--r--
2021-03-10 14:36
link.js
234
B
-rw-r--r--
2021-03-10 14:36
locker.js
1.81
KB
-rw-r--r--
2021-03-10 14:36
metrics-launch.js
1.08
KB
-rw-r--r--
2021-03-10 14:36
metrics.js
2.17
KB
-rw-r--r--
2021-03-10 14:36
module-name.js
973
B
-rw-r--r--
2021-03-10 14:36
move.js
290
B
-rw-r--r--
2021-03-10 14:36
no-progress-while-running.js
541
B
-rw-r--r--
2021-03-10 14:36
open-url.js
819
B
-rw-r--r--
2021-03-10 14:36
otplease.js
721
B
-rw-r--r--
2021-03-10 14:36
output.js
210
B
-rw-r--r--
2021-03-10 14:36
package-id.js
399
B
-rw-r--r--
2021-03-10 14:36
parse-json.js
653
B
-rw-r--r--
2021-03-10 14:36
perf.js
548
B
-rw-r--r--
2021-03-10 14:36
pick-manifest-from-registry-metadata.js
895
B
-rw-r--r--
2021-03-10 14:36
pulse-till-done.js
783
B
-rw-r--r--
2021-03-10 14:36
read-local-package.js
329
B
-rw-r--r--
2021-03-10 14:36
read-user-info.js
2.08
KB
-rw-r--r--
2021-03-10 14:36
replace-info.js
556
B
-rw-r--r--
2021-03-10 14:36
save-stack.js
349
B
-rw-r--r--
2021-03-10 14:36
spawn.js
1.38
KB
-rw-r--r--
2021-03-10 14:36
temp-filename.js
173
B
-rw-r--r--
2021-03-10 14:36
umask.js
343
B
-rw-r--r--
2021-03-10 14:36
unix-format-path.js
85
B
-rw-r--r--
2021-03-10 14:36
unsupported.js
1.29
KB
-rw-r--r--
2021-03-10 14:36
usage.js
576
B
-rw-r--r--
2021-03-10 14:36
warn-deprecated.js
556
B
-rw-r--r--
2021-03-10 14:36
Save
Rename
'use strict' exports.start = startMetrics exports.stop = stopMetrics exports.save = saveMetrics exports.send = sendMetrics const fs = require('fs') const path = require('path') const npm = require('../npm.js') const regFetch = require('libnpm/fetch') const uuid = require('uuid') const cacheFile = require('./cache-file.js') let inMetrics = false function startMetrics () { if (inMetrics) return // loaded on demand to avoid any recursive deps when `./metrics-launch` requires us. var metricsLaunch = require('./metrics-launch.js') npm.metricsProcess = metricsLaunch() } function stopMetrics () { if (inMetrics) return if (npm.metricsProcess) npm.metricsProcess.kill('SIGKILL') } function saveMetrics (itWorked) { if (inMetrics) return // If the metrics reporter hasn't managed to PUT yet then kill it so that it doesn't // step on our updating the anonymous-cli-metrics json stopMetrics() var metricsFile = path.join(npm.config.get('cache'), 'anonymous-cli-metrics.json') var metrics try { metrics = JSON.parse(fs.readFileSync(metricsFile)) metrics.metrics.to = new Date().toISOString() if (itWorked) { ++metrics.metrics.successfulInstalls } else { ++metrics.metrics.failedInstalls } } catch (ex) { metrics = { metricId: uuid.v4(), metrics: { from: new Date().toISOString(), to: new Date().toISOString(), successfulInstalls: itWorked ? 1 : 0, failedInstalls: itWorked ? 0 : 1 } } } try { cacheFile.write(metricsFile, JSON.stringify(metrics)) } catch (ex) { // we couldn't write and/or chown the error metrics file, oh well. } } function sendMetrics (metricsFile, metricsRegistry) { inMetrics = true var cliMetrics = JSON.parse(fs.readFileSync(metricsFile)) regFetch( `/-/npm/anon-metrics/v1/${encodeURIComponent(cliMetrics.metricId)}`, // NOTE: skip npmConfig() to prevent auth { registry: metricsRegistry, method: 'PUT', body: cliMetrics.metrics, retry: false } ).then(() => { fs.unlinkSync(metricsFile) }, err => { cacheFile.write(path.join(path.dirname(metricsFile), 'last-send-metrics-error.txt'), err.stack) }) }