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 /
zod /
v4 /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
api.cjs
25.84
KB
-rw-r--r--
api.d.cts
28.75
KB
-rw-r--r--
api.d.ts
28.75
KB
-rw-r--r--
api.js
22.44
KB
-rw-r--r--
checks.cjs
20.6
KB
-rw-r--r--
checks.d.cts
12.48
KB
-rw-r--r--
checks.d.ts
12.48
KB
-rw-r--r--
checks.js
19.09
KB
-rw-r--r--
core.cjs
2.25
KB
-rw-r--r--
core.d.cts
1.77
KB
-rw-r--r--
core.d.ts
1.77
KB
-rw-r--r--
core.js
2.04
KB
-rw-r--r--
doc.cjs
1.17
KB
-rw-r--r--
doc.d.cts
353
B
-rw-r--r--
doc.d.ts
353
B
-rw-r--r--
doc.js
1.06
KB
-rw-r--r--
errors.cjs
7.47
KB
-rw-r--r--
errors.d.cts
7.71
KB
-rw-r--r--
errors.d.ts
7.7
KB
-rw-r--r--
errors.js
6.17
KB
-rw-r--r--
function.cjs
3.92
KB
-rw-r--r--
function.d.cts
3.51
KB
-rw-r--r--
function.d.ts
3.51
KB
-rw-r--r--
function.js
2.65
KB
-rw-r--r--
index.cjs
2.11
KB
-rw-r--r--
index.d.cts
514
B
-rw-r--r--
index.d.ts
499
B
-rw-r--r--
index.js
499
B
-rw-r--r--
json-schema.cjs
77
B
-rw-r--r--
json-schema.d.cts
2.61
KB
-rw-r--r--
json-schema.d.ts
2.61
KB
-rw-r--r--
json-schema.js
11
B
-rw-r--r--
parse.cjs
3.86
KB
-rw-r--r--
parse.d.cts
1.47
KB
-rw-r--r--
parse.d.ts
1.47
KB
-rw-r--r--
parse.js
2.49
KB
-rw-r--r--
regexes.cjs
6.9
KB
-rw-r--r--
regexes.d.cts
2.7
KB
-rw-r--r--
regexes.d.ts
2.7
KB
-rw-r--r--
regexes.js
6.26
KB
-rw-r--r--
registries.cjs
1.64
KB
-rw-r--r--
registries.d.cts
1.61
KB
-rw-r--r--
registries.d.ts
1.61
KB
-rw-r--r--
registries.js
1.45
KB
-rw-r--r--
schemas.cjs
63.32
KB
-rw-r--r--
schemas.d.cts
43.65
KB
-rw-r--r--
schemas.d.ts
43.64
KB
-rw-r--r--
schemas.js
61.18
KB
-rw-r--r--
standard-schema.cjs
77
B
-rw-r--r--
standard-schema.d.cts
2.35
KB
-rw-r--r--
standard-schema.d.ts
2.35
KB
-rw-r--r--
standard-schema.js
11
B
-rw-r--r--
to-json-schema.cjs
35.07
KB
-rw-r--r--
to-json-schema.d.cts
3.64
KB
-rw-r--r--
to-json-schema.d.ts
3.64
KB
-rw-r--r--
to-json-schema.js
34.85
KB
-rw-r--r--
util.cjs
16.05
KB
-rw-r--r--
util.d.cts
10.5
KB
-rw-r--r--
util.d.ts
10.49
KB
-rw-r--r--
util.js
14.65
KB
-rw-r--r--
versions.cjs
168
B
-rw-r--r--
versions.d.cts
109
B
-rw-r--r--
versions.d.ts
109
B
-rw-r--r--
versions.js
70
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : errors.cjs
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.$ZodRealError = exports.$ZodError = void 0; exports.flattenError = flattenError; exports.formatError = formatError; exports.treeifyError = treeifyError; exports.toDotPath = toDotPath; exports.prettifyError = prettifyError; const core_js_1 = require("./core.cjs"); const util = __importStar(require("./util.cjs")); const initializer = (inst, def) => { inst.name = "$ZodError"; Object.defineProperty(inst, "_zod", { value: inst._zod, enumerable: false, }); Object.defineProperty(inst, "issues", { value: def, enumerable: false, }); Object.defineProperty(inst, "message", { get() { return JSON.stringify(def, util.jsonStringifyReplacer, 2); }, enumerable: true, // configurable: false, }); Object.defineProperty(inst, "toString", { value: () => inst.message, enumerable: false, }); }; exports.$ZodError = (0, core_js_1.$constructor)("$ZodError", initializer); exports.$ZodRealError = (0, core_js_1.$constructor)("$ZodError", initializer, { Parent: Error }); function flattenError(error, mapper = (issue) => issue.message) { const fieldErrors = {}; const formErrors = []; for (const sub of error.issues) { if (sub.path.length > 0) { fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || []; fieldErrors[sub.path[0]].push(mapper(sub)); } else { formErrors.push(mapper(sub)); } } return { formErrors, fieldErrors }; } function formatError(error, _mapper) { const mapper = _mapper || function (issue) { return issue.message; }; const fieldErrors = { _errors: [] }; const processError = (error) => { for (const issue of error.issues) { if (issue.code === "invalid_union" && issue.errors.length) { issue.errors.map((issues) => processError({ issues })); } else if (issue.code === "invalid_key") { processError({ issues: issue.issues }); } else if (issue.code === "invalid_element") { processError({ issues: issue.issues }); } else if (issue.path.length === 0) { fieldErrors._errors.push(mapper(issue)); } else { let curr = fieldErrors; let i = 0; while (i < issue.path.length) { const el = issue.path[i]; const terminal = i === issue.path.length - 1; if (!terminal) { curr[el] = curr[el] || { _errors: [] }; } else { curr[el] = curr[el] || { _errors: [] }; curr[el]._errors.push(mapper(issue)); } curr = curr[el]; i++; } } } }; processError(error); return fieldErrors; } function treeifyError(error, _mapper) { const mapper = _mapper || function (issue) { return issue.message; }; const result = { errors: [] }; const processError = (error, path = []) => { var _a, _b; for (const issue of error.issues) { if (issue.code === "invalid_union" && issue.errors.length) { // regular union error issue.errors.map((issues) => processError({ issues }, issue.path)); } else if (issue.code === "invalid_key") { processError({ issues: issue.issues }, issue.path); } else if (issue.code === "invalid_element") { processError({ issues: issue.issues }, issue.path); } else { const fullpath = [...path, ...issue.path]; if (fullpath.length === 0) { result.errors.push(mapper(issue)); continue; } let curr = result; let i = 0; while (i < fullpath.length) { const el = fullpath[i]; const terminal = i === fullpath.length - 1; if (typeof el === "string") { curr.properties ?? (curr.properties = {}); (_a = curr.properties)[el] ?? (_a[el] = { errors: [] }); curr = curr.properties[el]; } else { curr.items ?? (curr.items = []); (_b = curr.items)[el] ?? (_b[el] = { errors: [] }); curr = curr.items[el]; } if (terminal) { curr.errors.push(mapper(issue)); } i++; } } } }; processError(error); return result; } /** Format a ZodError as a human-readable string in the following form. * * From * * ```ts * ZodError { * issues: [ * { * expected: 'string', * code: 'invalid_type', * path: [ 'username' ], * message: 'Invalid input: expected string' * }, * { * expected: 'number', * code: 'invalid_type', * path: [ 'favoriteNumbers', 1 ], * message: 'Invalid input: expected number' * } * ]; * } * ``` * * to * * ``` * username * ✖ Expected number, received string at "username * favoriteNumbers[0] * ✖ Invalid input: expected number * ``` */ function toDotPath(path) { const segs = []; for (const seg of path) { if (typeof seg === "number") segs.push(`[${seg}]`); else if (typeof seg === "symbol") segs.push(`[${JSON.stringify(String(seg))}]`); else if (/[^\w$]/.test(seg)) segs.push(`[${JSON.stringify(seg)}]`); else { if (segs.length) segs.push("."); segs.push(seg); } } return segs.join(""); } function prettifyError(error) { const lines = []; // sort by path length const issues = [...error.issues].sort((a, b) => a.path.length - b.path.length); // Process each issue for (const issue of issues) { lines.push(`✖ ${issue.message}`); if (issue.path?.length) lines.push(` → at ${toDotPath(issue.path)}`); } // Convert Map to formatted string return lines.join("\n"); }
Close