AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 3.144.82.70   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/root/home/allssztx/clarkesmusicservices.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/thread-self/root/home/allssztx/clarkesmusicservices.com/index.js
const express = require("express");
const path = require('path')
const app = express();
const cookieParser = require('cookie-parser')
const connectionWithDb = require('./db')
const cors = require('cors');
// const authCookieValidator = require("./middleware/authCookieValidator");
app.set('views', path.resolve('./public'))

// app.use(authCookieValidator());
app.use(cookieParser())
app.use(express.json());
app.use(cors())
app.use(express.urlencoded({ extended: false }));
// app.use(express.static(path.join(__dirname, 'public')));
app.use(express.static(path.join(__dirname, 'public')));

connectionWithDb();

const PORT = process.env.PORT || 8060;

app.get('/*', (req, res) => {
    res.sendFile(path.join(__dirname, 'public', 'index.html'));
})

app.use('/api', require('./routes/apiHandler'))

app.listen(PORT, () => {
    console.log(`App is Live on: http://localhost:${PORT}`)
})

Anon7 - 2022
AnonSec Team