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 /
greenpreneurs /
api /
routes /
[ HOME SHELL ]
Name
Size
Permission
Action
admin.dashboard.route.js
1.29
KB
-rw-r--r--
auth.route.js
1.04
KB
-rw-r--r--
blog.route.js
1.17
KB
-rw-r--r--
event.route.js
272
B
-rw-r--r--
homePage.route.js
259
B
-rw-r--r--
individualBlog.route.js
1.3
KB
-rw-r--r--
user.dashboard.route.js
1.41
KB
-rw-r--r--
user.route.js
450
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : individualBlog.route.js
import express from 'express'; import { addANDRemoveLike, addComment, addShare, checkLiked, getComments, getIndividualBlogData, test } from "../controllers/individualBlog.controller.js"; import { validateInput, rateLimit } from "../middleware/inputValidation.js"; const router = express.Router(); // Apply security headers middleware const securityHeaders = (req, res, next) => { res.setHeader('X-Content-Type-Options', 'nosniff'); res.setHeader('X-Frame-Options', 'DENY'); res.setHeader('X-XSS-Protection', '1; mode=block'); res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains'); res.setHeader('Content-Security-Policy', "default-src 'self'"); next(); }; // Apply middleware to all routes router.use(securityHeaders); router.use(rateLimit); router.use(express.json()); router.use(express.urlencoded({ extended: true })); // Test route router.get('/test', test); // Blog data routes router.get('/:id', getIndividualBlogData); router.get('/:id/comments', getComments); router.post('/:id/addcomment', validateInput, addComment); router.post('/:id/addremovelike', validateInput, addANDRemoveLike); router.post('/:id/checklike', validateInput, checkLiked); router.post('/:id/addshare', validateInput, addShare); export default router;
Close