Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.216.32
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
node_modules /
npm /
lib /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
completion
[ DIR ]
drwxr-xr-x
2017-12-07 00:46
ansi-trim.js
211
B
-rw-r--r--
2017-11-03 01:22
child-path.js
290
B
-rw-r--r--
2017-11-03 01:22
completion.sh
1.74
KB
-rwxr-xr-x
2017-11-03 01:22
correct-mkdir.js
3.04
KB
-rw-r--r--
2017-09-28 04:27
deep-sort-object.js
363
B
-rw-r--r--
2017-11-03 01:22
depr-check.js
451
B
-rw-r--r--
2017-11-03 01:22
did-you-mean.js
495
B
-rw-r--r--
2017-11-03 01:22
error-handler.js
6.05
KB
-rw-r--r--
2017-11-03 01:22
error-message.js
10.21
KB
-rw-r--r--
2017-11-28 04:37
escape-arg.js
673
B
-rw-r--r--
2017-11-03 01:22
escape-exec-path.js
777
B
-rw-r--r--
2017-11-03 01:22
gently-rm.js
484
B
-rw-r--r--
2017-11-28 04:37
get-publish-config.js
919
B
-rw-r--r--
2017-11-03 01:22
git.js
1.26
KB
-rw-r--r--
2017-11-03 01:22
gunzip-maybe.js
552
B
-rw-r--r--
2017-11-03 01:22
is-registry.js
295
B
-rw-r--r--
2017-11-28 04:37
is-windows-bash.js
129
B
-rw-r--r--
2017-11-03 01:22
is-windows-shell.js
153
B
-rw-r--r--
2017-11-03 01:22
is-windows.js
59
B
-rw-r--r--
2017-11-03 01:22
lifecycle-cmd.js
496
B
-rw-r--r--
2017-11-03 01:22
lifecycle.js
364
B
-rw-r--r--
2017-11-03 01:22
link.js
234
B
-rw-r--r--
2017-11-28 04:37
locker.js
1.81
KB
-rw-r--r--
2017-11-03 01:22
map-to-registry.js
2.79
KB
-rw-r--r--
2017-11-03 01:22
metrics-launch.js
1.05
KB
-rw-r--r--
2017-11-03 01:22
metrics.js
2.03
KB
-rw-r--r--
2017-11-03 01:22
module-name.js
935
B
-rw-r--r--
2017-11-03 01:22
move.js
290
B
-rw-r--r--
2017-11-03 01:22
no-progress-while-running.js
541
B
-rw-r--r--
2017-11-03 01:22
output.js
210
B
-rw-r--r--
2017-11-03 01:22
package-id.js
399
B
-rw-r--r--
2017-11-03 01:22
parse-json.js
592
B
-rw-r--r--
2017-11-03 01:22
perf.js
562
B
-rw-r--r--
2017-11-03 01:22
pick-manifest-from-registry-metadata.js
905
B
-rw-r--r--
2017-11-03 01:22
pulse-till-done.js
783
B
-rw-r--r--
2017-11-03 01:22
read-local-package.js
329
B
-rw-r--r--
2017-11-03 01:22
read-user-info.js
1.75
KB
-rw-r--r--
2017-11-03 01:22
save-stack.js
349
B
-rw-r--r--
2017-11-03 01:22
spawn.js
1.38
KB
-rw-r--r--
2017-11-03 01:22
temp-filename.js
173
B
-rw-r--r--
2017-11-03 01:22
umask.js
343
B
-rw-r--r--
2017-11-03 01:22
unix-format-path.js
85
B
-rw-r--r--
2017-11-03 01:22
unsupported.js
2.21
KB
-rw-r--r--
2017-11-28 04:37
usage.js
576
B
-rw-r--r--
2017-11-03 01:22
warn-deprecated.js
556
B
-rw-r--r--
2017-11-03 01:22
Save
Rename
var chownr = require('chownr') var dezalgo = require('dezalgo') var fs = require('graceful-fs') var inflight = require('inflight') var log = require('npmlog') var mkdirp = require('mkdirp') // memoize the directories created by this step var stats = {} var effectiveOwner module.exports = function correctMkdir (path, cb) { cb = dezalgo(cb) cb = inflight('correctMkdir:' + path, cb) if (!cb) { return log.verbose('correctMkdir', path, 'correctMkdir already in flight; waiting') } else { log.verbose('correctMkdir', path, 'correctMkdir not in flight; initializing') } if (stats[path]) return cb(null, stats[path]) fs.stat(path, function (er, st) { if (er) return makeDirectory(path, cb) if (!st.isDirectory()) { log.error('correctMkdir', 'invalid dir %s', path) return cb(er) } var ownerStats = calculateOwner() // there's always a chance the permissions could have been frobbed, so fix if (st.uid !== ownerStats.uid) { stats[path] = ownerStats setPermissions(path, ownerStats, cb) } else { stats[path] = st cb(null, stats[path]) } }) } function calculateOwner () { if (!effectiveOwner) { effectiveOwner = { uid: 0, gid: 0 } // Pretty much only on windows if (!process.getuid) { return effectiveOwner } effectiveOwner.uid = +process.getuid() effectiveOwner.gid = +process.getgid() if (effectiveOwner.uid === 0) { if (process.env.SUDO_UID) effectiveOwner.uid = +process.env.SUDO_UID if (process.env.SUDO_GID) effectiveOwner.gid = +process.env.SUDO_GID } } return effectiveOwner } function makeDirectory (path, cb) { cb = inflight('makeDirectory:' + path, cb) if (!cb) { return log.verbose('makeDirectory', path, 'creation already in flight; waiting') } else { log.verbose('makeDirectory', path, 'creation not in flight; initializing') } var owner = calculateOwner() if (!process.getuid) { return mkdirp(path, function (er) { log.verbose('makeCacheDir', 'UID & GID are irrelevant on', process.platform) stats[path] = owner return cb(er, stats[path]) }) } if (owner.uid !== 0 || !process.env.HOME) { log.silly( 'makeDirectory', path, 'uid:', owner.uid, 'gid:', owner.gid ) stats[path] = owner mkdirp(path, afterMkdir) } else { fs.stat(process.env.HOME, function (er, st) { if (er) { log.error('makeDirectory', 'homeless?') return cb(er) } log.silly( 'makeDirectory', path, 'uid:', st.uid, 'gid:', st.gid ) stats[path] = st mkdirp(path, afterMkdir) }) } function afterMkdir (er, made) { if (er || !stats[path] || isNaN(stats[path].uid) || isNaN(stats[path].gid)) { return cb(er, stats[path]) } if (!made) return cb(er, stats[path]) setPermissions(made, stats[path], cb) } } function setPermissions (path, st, cb) { chownr(path, st.uid, st.gid, function (er) { if (er && er.code === 'ENOENT') return cb(null, st) return cb(er, st) }) }