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 /
next /
dist /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
analysis
[ DIR ]
drwxrwxr-x
babel
[ DIR ]
drwxrwxr-x
jest
[ DIR ]
drwxrwxr-x
manifests
[ DIR ]
drwxrwxr-x
output
[ DIR ]
drwxrwxr-x
polyfills
[ DIR ]
drwxrwxr-x
swc
[ DIR ]
drwxrwxr-x
templates
[ DIR ]
drwxrwxr-x
webpack
[ DIR ]
drwxrwxr-x
webpack-build
[ DIR ]
drwxrwxr-x
build-context.d.ts
1.87
KB
-rw-rw-r--
build-context.js
1.57
KB
-rw-rw-r--
build-context.js.map
863
B
-rw-rw-r--
collect-build-traces.d.ts
768
B
-rw-rw-r--
collect-build-traces.js
24.28
KB
-rw-rw-r--
collect-build-traces.js.map
14.36
KB
-rw-rw-r--
compiler.d.ts
464
B
-rw-rw-r--
compiler.js
2.83
KB
-rw-rw-r--
compiler.js.map
1.82
KB
-rw-rw-r--
deployment-id.d.ts
69
B
-rw-rw-r--
deployment-id.js
466
B
-rw-rw-r--
deployment-id.js.map
311
B
-rw-rw-r--
entries.d.ts
3.88
KB
-rw-rw-r--
entries.js
26.05
KB
-rw-rw-r--
entries.js.map
16.14
KB
-rw-rw-r--
generate-build-id.d.ts
138
B
-rw-rw-r--
generate-build-id.js
860
B
-rw-rw-r--
generate-build-id.js.map
451
B
-rw-rw-r--
get-babel-config-file.d.ts
77
B
-rw-rw-r--
get-babel-config-file.js
856
B
-rw-rw-r--
get-babel-config-file.js.map
485
B
-rw-rw-r--
handle-externals.d.ts
1.34
KB
-rw-rw-r--
handle-externals.js
14.08
KB
-rw-rw-r--
handle-externals.js.map
6.95
KB
-rw-rw-r--
index.d.ts
3.42
KB
-rw-rw-r--
index.js
112.15
KB
-rw-rw-r--
index.js.map
59.85
KB
-rw-rw-r--
is-writeable.d.ts
74
B
-rw-rw-r--
is-writeable.js
653
B
-rw-rw-r--
is-writeable.js.map
381
B
-rw-rw-r--
load-entrypoint.d.ts
878
B
-rw-rw-r--
load-entrypoint.js
5.02
KB
-rw-rw-r--
load-entrypoint.js.map
3.19
KB
-rw-rw-r--
load-jsconfig.d.ts
310
B
-rw-rw-r--
load-jsconfig.js
4.87
KB
-rw-rw-r--
load-jsconfig.js.map
2.5
KB
-rw-rw-r--
noop-react-dom-server-legacy.d...
102
B
-rw-rw-r--
noop-react-dom-server-legacy.j...
846
B
-rw-rw-r--
noop-react-dom-server-legacy.j...
314
B
-rw-rw-r--
spinner.d.ts
173
B
-rw-rw-r--
spinner.js
3.84
KB
-rw-rw-r--
spinner.js.map
1.8
KB
-rw-rw-r--
type-check.d.ts
570
B
-rw-rw-r--
type-check.js
7.03
KB
-rw-rw-r--
type-check.js.map
3.53
KB
-rw-rw-r--
utils.d.ts
8.09
KB
-rw-rw-r--
utils.js
64.75
KB
-rw-rw-r--
utils.js.map
42.27
KB
-rw-rw-r--
webpack-config.d.ts
4.27
KB
-rw-rw-r--
webpack-config.js
102.53
KB
-rw-rw-r--
webpack-config.js.map
51.23
KB
-rw-rw-r--
worker.d.ts
124
B
-rw-rw-r--
worker.js
936
B
-rw-rw-r--
worker.js.map
133
B
-rw-rw-r--
write-build-id.d.ts
87
B
-rw-rw-r--
write-build-id.js
559
B
-rw-rw-r--
write-build-id.js.map
351
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : load-entrypoint.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "loadEntrypoint", { enumerable: true, get: function() { return loadEntrypoint; } }); const _promises = /*#__PURE__*/ _interop_require_default(require("fs/promises")); const _path = /*#__PURE__*/ _interop_require_default(require("path")); function _interop_require_default(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // NOTE: this should be updated if this loader file is moved. const PACKAGE_ROOT = _path.default.normalize(_path.default.join(__dirname, "../../..")); const TEMPLATE_FOLDER = _path.default.join(__dirname, "templates"); const TEMPLATES_ESM_FOLDER = _path.default.normalize(_path.default.join(__dirname, "../../dist/esm/build/templates")); async function loadEntrypoint(entrypoint, replacements, injections) { const filepath = _path.default.resolve(_path.default.join(TEMPLATES_ESM_FOLDER, `${entrypoint}.js`)); let file = await _promises.default.readFile(filepath, "utf8"); // Update the relative imports to be absolute. This will update any relative // imports to be relative to the root of the `next` package. let count = 0; file = file.replaceAll(/(?:from "(\..*)"|import "(\..*)")/g, function(_, fromRequest, importRequest) { count++; const relative = _path.default.relative(PACKAGE_ROOT, _path.default.resolve(TEMPLATE_FOLDER, fromRequest ?? importRequest))// Ensure that we use linux style path separators for node. .replace(/\\/g, "/"); // Verify that the relative import is relative to the `next` package. This // will catch cases where the constants at the top of the file were not // updated after the file was moved. if (!relative.startsWith("next/")) { throw new Error(`Invariant: Expected relative import to start with "next/", found "${relative}"`); } return fromRequest ? `from ${JSON.stringify(relative)}` : `import ${JSON.stringify(relative)}`; }); // Verify that at least one import was replaced. It's the case today where // every template file has at least one import to update, so this ensures that // we don't accidentally remove the import replacement code or use the wrong // template file. if (count === 0) { throw new Error("Invariant: Expected to replace at least one import"); } const replaced = new Set(); // Replace all the template variables with the actual values. If a template // variable is missing, throw an error. file = file.replaceAll(new RegExp(`${Object.keys(replacements).map((k)=>`"${k}"`).join("|")}`, "g"), (match)=>{ const key = JSON.parse(match); if (!(key in replacements)) { throw new Error(`Invariant: Unexpected template variable ${key}`); } replaced.add(key); return JSON.stringify(replacements[key]); }); // Check to see if there's any remaining template variables. let matches = file.match(/VAR_[A-Z_]+/g); if (matches) { throw new Error(`Invariant: Expected to replace all template variables, found ${matches.join(", ")}`); } // Check to see if any template variable was provided but not used. if (replaced.size !== Object.keys(replacements).length) { // Find the difference between the provided replacements and the replaced // template variables. This will let us notify the user of any template // variables that were not used but were provided. const difference = Object.keys(replacements).filter((key)=>!replaced.has(key)); throw new Error(`Invariant: Expected to replace all template variables, missing ${difference.join(", ")} in template`); } // Replace the injections. const injected = new Set(); if (injections) { // Track all the injections to ensure that we're not missing any. file = file.replaceAll(new RegExp(`// INJECT:(${Object.keys(injections).join("|")})`, "g"), (_, key)=>{ if (!(key in injections)) { throw new Error(`Invariant: Unexpected injection ${key}`); } injected.add(key); return `const ${key} = ${injections[key]}`; }); } // Check to see if there's any remaining injections. matches = file.match(/\/\/ INJECT:[A-Za-z0-9_]+/g); if (matches) { throw new Error(`Invariant: Expected to inject all injections, found ${matches.join(", ")}`); } // Check to see if any injection was provided but not used. if (injected.size !== Object.keys(injections ?? {}).length) { // Find the difference between the provided injections and the injected // injections. This will let us notify the user of any injections that were // not used but were provided. const difference = Object.keys(injections ?? {}).filter((key)=>!injected.has(key)); throw new Error(`Invariant: Expected to inject all injections, missing ${difference.join(", ")} in template`); } return file; } //# sourceMappingURL=load-entrypoint.js.map
Close