Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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 /
npm /
lib /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
completion
[ DIR ]
drwxr-xr-x
ansi-trim.js
211
B
-rw-r--r--
child-path.js
290
B
-rw-r--r--
completion.sh
1.73
KB
-rw-r--r--
correct-mkdir.js
3.04
KB
-rw-r--r--
deep-sort-object.js
363
B
-rw-r--r--
depr-check.js
451
B
-rw-r--r--
did-you-mean.js
495
B
-rw-r--r--
error-handler.js
6.15
KB
-rw-r--r--
error-message.js
11.54
KB
-rw-r--r--
escape-arg.js
673
B
-rw-r--r--
escape-exec-path.js
777
B
-rw-r--r--
gently-rm.js
484
B
-rw-r--r--
get-publish-config.js
919
B
-rw-r--r--
git.js
1.26
KB
-rw-r--r--
gunzip-maybe.js
552
B
-rw-r--r--
is-registry.js
295
B
-rw-r--r--
is-windows-bash.js
129
B
-rw-r--r--
is-windows-shell.js
153
B
-rw-r--r--
is-windows.js
59
B
-rw-r--r--
lifecycle-cmd.js
496
B
-rw-r--r--
lifecycle.js
364
B
-rw-r--r--
link.js
234
B
-rw-r--r--
locker.js
1.81
KB
-rw-r--r--
map-to-registry.js
2.79
KB
-rw-r--r--
metrics-launch.js
1.05
KB
-rw-r--r--
metrics.js
2.03
KB
-rw-r--r--
module-name.js
935
B
-rw-r--r--
move.js
290
B
-rw-r--r--
no-progress-while-running.js
541
B
-rw-r--r--
output.js
210
B
-rw-r--r--
package-id.js
399
B
-rw-r--r--
parse-json.js
663
B
-rw-r--r--
perf.js
562
B
-rw-r--r--
pick-manifest-from-registry-me...
905
B
-rw-r--r--
pulse-till-done.js
783
B
-rw-r--r--
read-local-package.js
329
B
-rw-r--r--
read-user-info.js
1.75
KB
-rw-r--r--
replace-info.js
552
B
-rw-r--r--
save-stack.js
349
B
-rw-r--r--
spawn.js
1.38
KB
-rw-r--r--
stringify-package.js
328
B
-rw-r--r--
temp-filename.js
173
B
-rw-r--r--
umask.js
343
B
-rw-r--r--
unix-format-path.js
85
B
-rw-r--r--
unsupported.js
2.21
KB
-rw-r--r--
usage.js
576
B
-rw-r--r--
warn-deprecated.js
556
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : metrics.js
'use strict' exports.start = startMetrics exports.stop = stopMetrics exports.save = saveMetrics exports.send = sendMetrics var fs = require('fs') var path = require('path') var npm = require('../npm.js') var uuid = require('uuid') var 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 { fs.writeFileSync(metricsFile, JSON.stringify(metrics)) } catch (ex) { // we couldn't write the error metrics file, um, well, oh well. } } function sendMetrics (metricsFile, metricsRegistry) { inMetrics = true var cliMetrics = JSON.parse(fs.readFileSync(metricsFile)) npm.load({}, function (err) { if (err) return npm.registry.config.retry.retries = 0 npm.registry.sendAnonymousCLIMetrics(metricsRegistry, cliMetrics, function (err) { if (err) { fs.writeFileSync(path.join(path.dirname(metricsFile), 'last-send-metrics-error.txt'), err.stack) } else { fs.unlinkSync(metricsFile) } }) }) }
Close