!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/local/lib/node_modules/wonlog/node_modules/wonlog-server/dist/express_server/src/   drwxr-xr-x
Free 12.96 GB of 57.97 GB (22.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     WonlogExpressApp.js (1.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.WonlogExpressApp = void 0;
const express_1 = __importDefault(require("express"));
const compression_1 = __importDefault(require("compression")); // compresses requests
const body_parser_1 = __importDefault(require("body-parser"));
const lusca_1 = __importDefault(require("lusca"));
const errorhandler_1 = __importDefault(require("errorhandler"));
const WonlogRouter_1 = require("./WonlogRouter");
class WonlogExpressApp {
    constructor() {
        this._webSocketServer = null;
        // Create Express server
        this._app = (0, express_1.default)();
        this.initialize();
    }
    getApp() {
        return this._app;
    }
    getWebSocketServer() {
        if (!this._webSocketServer) {
            throw new Error('websocket is not ready');
        }
        return this._webSocketServer;
    }
    setWebSocketServer(webSocketServer) {
        this._webSocketServer = webSocketServer;
    }
    initialize() {
        // Express configuration
        // app.set('port', process.env.PORT || 5000);
        this._app.use((0, compression_1.default)());
        this._app.use(body_parser_1.default.json());
        this._app.use(body_parser_1.default.urlencoded({
            extended: true,
        }));
        this._app.use(lusca_1.default.xframe('SAMEORIGIN'));
        this._app.use(lusca_1.default.xssProtection(true));
        this.initializeRoutes();
        /**
         * Error Handler. Provides full stack - remove for production
         */
        this._app.use((0, errorhandler_1.default)());
    }
    initializeRoutes() {
        this._app.use(new WonlogRouter_1.WonlogRouter(this).getExpressRouter());
    }
}
exports.WonlogExpressApp = WonlogExpressApp;
//# sourceMappingURL=WonlogExpressApp.js.map

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0047 ]--