Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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 /
events /
node_modules /
resolve /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
dotdot
[ DIR ]
drwxrwxr-x
module_dir
[ DIR ]
drwxrwxr-x
node_path
[ DIR ]
drwxrwxr-x
pathfilter
[ DIR ]
drwxrwxr-x
precedence
[ DIR ]
drwxrwxr-x
resolver
[ DIR ]
drwxrwxr-x
shadowed_core
[ DIR ]
drwxrwxr-x
core.js
2.99
KB
-rw-rw-r--
dotdot.js
799
B
-rw-rw-r--
faulty_basedir.js
807
B
-rw-rw-r--
filter.js
1.02
KB
-rw-rw-r--
filter_sync.js
1.39
KB
-rw-rw-r--
home_paths.js
4.37
KB
-rw-rw-r--
home_paths_sync.js
3.71
KB
-rw-rw-r--
mock.js
9.78
KB
-rw-rw-r--
mock_sync.js
5.91
KB
-rw-rw-r--
module_dir.js
1.52
KB
-rw-rw-r--
node-modules-paths.js
4.98
KB
-rw-rw-r--
node_path.js
2.08
KB
-rw-rw-r--
nonstring.js
182
B
-rw-rw-r--
pathfilter.js
2.2
KB
-rw-rw-r--
precedence.js
646
B
-rw-rw-r--
resolver.js
19.59
KB
-rw-rw-r--
resolver_sync.js
20.46
KB
-rw-rw-r--
shadowed_core.js
1.77
KB
-rw-rw-r--
subdirs.js
353
B
-rw-rw-r--
symlinks.js
6.38
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : node_path.js
var fs = require('fs'); var path = require('path'); var test = require('tape'); var resolve = require('../'); test('$NODE_PATH', function (t) { t.plan(8); var isDir = function (dir, cb) { if (dir === '/node_path' || dir === 'node_path/x') { return cb(null, true); } fs.stat(dir, function (err, stat) { if (!err) { return cb(null, stat.isDirectory()); } if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false); return cb(err); }); }; resolve('aaa', { paths: [ path.join(__dirname, '/node_path/x'), path.join(__dirname, '/node_path/y') ], basedir: __dirname, isDirectory: isDir }, function (err, res) { t.error(err); t.equal(res, path.join(__dirname, '/node_path/x/aaa/index.js'), 'aaa resolves'); }); resolve('bbb', { paths: [ path.join(__dirname, '/node_path/x'), path.join(__dirname, '/node_path/y') ], basedir: __dirname, isDirectory: isDir }, function (err, res) { t.error(err); t.equal(res, path.join(__dirname, '/node_path/y/bbb/index.js'), 'bbb resolves'); }); resolve('ccc', { paths: [ path.join(__dirname, '/node_path/x'), path.join(__dirname, '/node_path/y') ], basedir: __dirname, isDirectory: isDir }, function (err, res) { t.error(err); t.equal(res, path.join(__dirname, '/node_path/x/ccc/index.js'), 'ccc resolves'); }); // ensure that relative paths still resolve against the regular `node_modules` correctly resolve('tap', { paths: [ 'node_path' ], basedir: path.join(__dirname, 'node_path/x'), isDirectory: isDir }, function (err, res) { var root = require('tap/package.json').main; // eslint-disable-line global-require t.error(err); t.equal(res, path.resolve(__dirname, '..', 'node_modules/tap', root), 'tap resolves'); }); });
Close