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.1
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
/
var /
www /
html /
edu-lms /
server /
middlewares /
[ HOME SHELL ]
Name
Size
Permission
Action
addDevMiddlewares.js
1.01
KB
-rw-r--r--
addProdMiddlewares.js
710
B
-rw-r--r--
frontendMiddleware.js
499
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : addProdMiddlewares.js
const path = require('path'); const express = require('express'); const compression = require('compression'); module.exports = function addProdMiddlewares(app, options) { const publicPath = options.publicPath || '/'; const outputPath = options.outputPath || path.resolve(process.cwd(), 'build'); // compression middleware compresses your server responses which makes them // smaller (applies also to assets). You can read more about that technique // and other good practices on official Express.js docs http://mxs.is/googmy app.use(compression()); app.use(publicPath, express.static(outputPath)); app.get('*', (req, res) => res.sendFile(path.resolve(outputPath, 'index.html')), ); };
Close