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.159
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
/
home /
amatya /
quiz1 /
node_modules /
eslint /
lib /
shared /
[ HOME SHELL ]
Name
Size
Permission
Action
ajv.js
993
B
-rw-rw-rw-
ast-utils.js
910
B
-rw-rw-rw-
config-validator.js
11.32
KB
-rw-rw-rw-
deprecation-warnings.js
1.89
KB
-rw-rw-rw-
directives.js
414
B
-rw-rw-rw-
logging.js
538
B
-rw-rw-rw-
relative-module-resolver.js
1.73
KB
-rw-rw-rw-
runtime-info.js
5.41
KB
-rw-rw-rw-
severity.js
1.23
KB
-rw-rw-rw-
string-utils.js
1.59
KB
-rw-rw-rw-
traverser.js
5.35
KB
-rw-rw-rw-
types.js
10.42
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : string-utils.js
/** * @fileoverview Utilities to operate on strings. * @author Stephen Wade */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const Graphemer = require("graphemer").default; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ // eslint-disable-next-line no-control-regex -- intentionally including control characters const ASCII_REGEX = /^[\u0000-\u007f]*$/u; /** @type {Graphemer | undefined} */ let splitter; //------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ /** * Converts the first letter of a string to uppercase. * @param {string} string The string to operate on * @returns {string} The converted string */ function upperCaseFirst(string) { if (string.length <= 1) { return string.toUpperCase(); } return string[0].toUpperCase() + string.slice(1); } /** * Counts graphemes in a given string. * @param {string} value A string to count graphemes. * @returns {number} The number of graphemes in `value`. */ function getGraphemeCount(value) { if (ASCII_REGEX.test(value)) { return value.length; } if (!splitter) { splitter = new Graphemer(); } return splitter.countGraphemes(value); } module.exports = { upperCaseFirst, getGraphemeCount };
Close