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 : filter_sync.js
var path = require('path'); var test = require('tape'); var resolve = require('../'); test('filter', function (t) { var dir = path.join(__dirname, 'resolver'); var packageFilterArgs; var res = resolve.sync('./baz', { basedir: dir, // NOTE: in v2.x, this will be `pkg, pkgfile, dir`, but must remain "broken" here in v1.x for compatibility packageFilter: function (pkg, /*pkgfile,*/ dir) { // eslint-disable-line spaced-comment pkg.main = 'doom'; // eslint-disable-line no-param-reassign packageFilterArgs = 'is 1.x' ? [pkg, dir] : [pkg, pkgfile, dir]; // eslint-disable-line no-constant-condition, no-undef return pkg; } }); t.equal(res, path.join(dir, 'baz/doom.js'), 'changing the package "main" works'); var packageData = packageFilterArgs[0]; t.equal(packageData.main, 'doom', 'package "main" was altered'); if (!'is 1.x') { // eslint-disable-line no-constant-condition var packageFile = packageFilterArgs[1]; t.equal(packageFile, path.join(dir, 'baz', 'package.json'), 'package.json path is correct'); } var packageDir = packageFilterArgs['is 1.x' ? 1 : 2]; // eslint-disable-line no-constant-condition // eslint-disable-next-line no-constant-condition t.equal(packageDir, path.join(dir, 'baz'), ('is 1.x' ? 'second' : 'third') + ' packageFilter argument is "dir"'); t.end(); });
Close