Web interface #525
18
.github/workflows/test.yaml
vendored
@ -9,11 +9,11 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
package:
|
||||
- core
|
||||
- cli
|
||||
- docker
|
||||
- verapi
|
||||
name: "Testing ${{ matrix.package }}"
|
||||
- "@the-bds-maneger/core"
|
||||
- "@the-bds-maneger/web"
|
||||
- "bds-maneger"
|
||||
- "@the-bds-maneger/verapi"
|
||||
name: "Testing \"${{ matrix.package }}\""
|
||||
env:
|
||||
bdscoreroot: "~/.bdsCore"
|
||||
steps:
|
||||
@ -38,8 +38,8 @@ jobs:
|
||||
|
||||
# Build Core
|
||||
- name: Core Build
|
||||
if: matrix.package != 'core'
|
||||
run: npm run -w package/core build
|
||||
if: matrix.package != '@the-bds-maneger/core'
|
||||
run: npm run -w "@the-bds-maneger/core" build
|
||||
|
||||
- name: Build ${{ matrix.package }}
|
||||
run: npm run --if-present -w "package/${{ matrix.package }}" build
|
||||
- name: Build "${{ matrix.package }}"
|
||||
run: npm run --if-present -w "${{ matrix.package }}" prepack
|
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
# npm
|
||||
/*.tgz
|
||||
*.tgz
|
||||
|
||||
# Node
|
||||
node_modules/
|
||||
@ -8,7 +8,7 @@ node_modules/
|
||||
# Typescript
|
||||
**/*.js
|
||||
**/*.d.ts
|
||||
**/tsconfig.tsbuildinfo
|
||||
**/*.tsbuildinfo
|
||||
|
||||
# PHP and Spigot Pre builds
|
||||
phpOutput/
|
||||
|
@ -1,10 +1,10 @@
|
||||
# npm
|
||||
/*.tgz
|
||||
*.tgz
|
||||
|
||||
# Typescript
|
||||
**/*.ts
|
||||
!**/*.d.ts
|
||||
**/tsconfig.tsbuildinfo
|
||||
**/*.tsbuildinfo
|
||||
|
||||
# PHP and Spigot Pre builds
|
||||
phpOutput/
|
||||
|
23
.vscode/settings.json
vendored
@ -6,9 +6,22 @@
|
||||
"editor.minimap.enabled": false,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
// "files.exclude": {
|
||||
// "**/node_modules/": true,
|
||||
// "**/src/**/*.js": true,
|
||||
// "**/src/**/*.d.ts": true,
|
||||
// }
|
||||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": true
|
||||
},
|
||||
"files.exclude": {
|
||||
"**/node_modules/": true,
|
||||
"packages/web/src/next/.next": true,
|
||||
},
|
||||
"terminal.integrated.env.windows": {
|
||||
"PATH": "${workspaceFolder}/node_modules/.bin;${env:PATH}"
|
||||
},
|
||||
"terminal.integrated.env.linux": {
|
||||
"PATH": "${workspaceFolder}/node_modules/.bin:${env:PATH}"
|
||||
},
|
||||
"terminal.integrated.env.osx": {
|
||||
"PATH": "${workspaceFolder}/node_modules/.bin:${env:PATH}"
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
FROM node:lts
|
||||
WORKDIR /app
|
||||
COPY ./ ./
|
||||
RUN npm install --no-save && npm run -w package/docker build
|
||||
RUN npm install --no-save && npm run -w "@the-bds-maneger/web" build
|
||||
|
||||
FROM node:lts
|
||||
WORKDIR /app
|
||||
|
12
package.json
@ -9,13 +9,13 @@
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/node": "^20.1.3",
|
||||
"typescript": "^5.0.4"
|
||||
"@types/node": "^20.2.1",
|
||||
"typescript": "4.9.5"
|
||||
},
|
||||
"workspaces": [
|
||||
"package/core",
|
||||
"package/cli",
|
||||
"package/docker",
|
||||
"package/verapi"
|
||||
"packages/core",
|
||||
"packages/cli",
|
||||
"packages/web",
|
||||
"packages/verapi"
|
||||
]
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
export * from "./serverManeger.js";
|
||||
|
||||
import * as serverManeger from "./serverManeger.js";
|
||||
import * as Bedrock from "./servers/bedrock.js";
|
||||
import * as Java from "./servers/java.js";
|
||||
|
||||
export default {...serverManeger, serverManeger, Bedrock, Java };
|
||||
export { serverManeger, Bedrock, Java };
|
@ -1,37 +0,0 @@
|
||||
# Bds Maneger Core
|
||||
|
||||
Basic core to install, update and manage several minecraft servers automatically, depending on a few dependencies, the basic being **Nodejs**.
|
||||
|
||||
## Servers supports and TODO
|
||||
|
||||
**Bedrock Mojang**:
|
||||
- [x] Install/Update.
|
||||
- [ ] Hot backup.
|
||||
- [x] Start.
|
||||
- [x] Port Listened.
|
||||
- [ ] Player connect/disconnect/spawn.
|
||||
- [ ] Player kick/ban.
|
||||
|
||||
**Pocketmine PMMP**:
|
||||
- [x] Install/Update.
|
||||
- [ ] Hot backup.
|
||||
- [x] Start.
|
||||
- [ ] Port listened.
|
||||
- [ ] Player connect/disconnect.
|
||||
- [ ] Player kick/ban.
|
||||
|
||||
**Powernukkit** and **Cloudbust**:
|
||||
- [x] Install/Update.
|
||||
- 🚫 Hot backup.
|
||||
- [x] Start.
|
||||
- [ ] Port listened.
|
||||
- [ ] Player connect/disconnect.
|
||||
- [ ] Player kick/ban.
|
||||
|
||||
**Java Mojang**, **Purpur**, **Paper** and **Spigot**:
|
||||
- [x] Install/Update.
|
||||
- 🚫 Hot Backup.
|
||||
- [x] Start.
|
||||
- [ ] Port listened.
|
||||
- [ ] Player connect/disconect action.
|
||||
- [ ] Player kick/ban.
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "@the-bds-maneger/docker",
|
||||
"version": "6.0.1",
|
||||
"type": "module",
|
||||
"author": "Matheus Sampaio Queiroga <srherobrine20@gmail.com>",
|
||||
"license": "GPL-3.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsc --build --clean && tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@the-bds-maneger/core": "^6.0.3",
|
||||
"express": "^4.18.2",
|
||||
"mongodb": "^5.5.0",
|
||||
"neste": "^1.0.2",
|
||||
"yaml": "^2.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.17"
|
||||
}
|
||||
}
|
@ -1,137 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
import bdsCore, { serverManeger, serverRun } from "@the-bds-maneger/core";
|
||||
import express from "express";
|
||||
import neste from "neste";
|
||||
import yaml from "yaml";
|
||||
|
||||
const sessions: {[id: string]: serverRun} = {};
|
||||
process.on("exit", () => Object.keys(sessions).forEach(k => sessions[k].stopServer()));
|
||||
|
||||
// Catch error
|
||||
for (const k of ["uncaughtException", "unhandledRejection"]) process.on(k, err => console.log(err));
|
||||
const app = neste();
|
||||
app.use(async (req, res, next) => {
|
||||
req.res.json = res.json = function(body: any) {return Object.assign(res, Promise.resolve(body).then(d => res.send(JSON.stringify(d, null, 2))).catch(next));}
|
||||
if (typeof req.headers["content-type"] === "string" && (["application/x-yaml", "text/yaml", "text/x-yaml"]).find(k => req.headers["content-type"].includes(k))) {
|
||||
const data: Buffer[] = [];
|
||||
req.on("data", d => data.push(d));
|
||||
await new Promise((done, reject) => req.on("error", reject).once("close", () => {
|
||||
try {
|
||||
req.body = yaml.parse(Buffer.concat(data).toString("utf8"));
|
||||
done(null);
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
}));
|
||||
}
|
||||
next();
|
||||
}, express.json(), express.urlencoded({extended: true}));
|
||||
|
||||
// Get current server running
|
||||
app.route("/v1").get(({res}) => res.json(Object.keys(sessions).reduce((acc, key) => {
|
||||
acc[key] = {
|
||||
ports: sessions[key].portListening,
|
||||
player: sessions[key].playerActions.reduce((acc, player) => {
|
||||
if (!acc[player.playerName]) acc[player.playerName] = player;
|
||||
else acc[player.playerName] = {
|
||||
...player,
|
||||
previous: acc[player.playerName]
|
||||
};
|
||||
return acc;
|
||||
}, {})
|
||||
};
|
||||
return acc;
|
||||
}, {})));
|
||||
|
||||
app.route("/v1/id").get(async ({res}) => res.json(await serverManeger.listIDs())).delete(async (req, res) => {
|
||||
const IDs: string[] = [];
|
||||
if (typeof req.body === "string") IDs.push(...(String(req.body).split(/[;,]/).map(s => s.trim())))
|
||||
else if (Array.isArray(req.body)) IDs.push(...(req.body.map(k => typeof k === "string" ? k : k?.id).filter(s => !!s)))
|
||||
|
||||
if (IDs.find(k => k === "*")) return Promise.all((await bdsCore.listIDs()).map(async (idManeger) => idManeger.delete().then(() => ({id: idManeger.id})).catch(err => ({err: String(err?.message || err)})))).then(res.json);
|
||||
else if (IDs.length > 0) {
|
||||
const folder = (await bdsCore.listIDs()).filter(k => IDs.includes(k.id));
|
||||
if (folder.length === 0) return res.status(400).json({error: "all id is invalid"});
|
||||
return Promise.all(folder.map(async (idManeger) => idManeger.delete().then(() => ({id: idManeger.id})).catch(err => ({err: String(err?.message || err)})))).then(res.json);
|
||||
}
|
||||
|
||||
return res.status(400).json({
|
||||
error: "Body is String or Array"
|
||||
});
|
||||
});
|
||||
|
||||
app.get("/v1/platform(s)?/:platform?", async (req, res) => {
|
||||
const { platform = "bedrock" } = req.params;
|
||||
if (!(platform === "bedrock"||platform === "java")) return res.status(400).json({error: "Invalid platform"});
|
||||
if (platform === "bedrock") {
|
||||
return res.json(await bdsCore.Bedrock.listVersions(req.query.alt as any));
|
||||
}
|
||||
return res.json(await bdsCore.Java.listVersions(req.query.alt as any));
|
||||
});
|
||||
|
||||
app.route("/v1/server").put(async (req, res) => {
|
||||
const { platform } = req.body as { platform: "bedrock"|"java" };
|
||||
if (!(platform === "bedrock" || platform === "java")) return res.status(400).json({error: "Platform is invalid"});
|
||||
const platformInstall = await (platform === "java" ? bdsCore.Java.installServer : bdsCore.Bedrock.installServer)({
|
||||
newID: true,
|
||||
version: req.body?.version ?? "latest",
|
||||
altServer: req.body?.altServer as never,
|
||||
allowBeta: req.body?.allowBeta ?? req.query.allowBeta === "true"
|
||||
});
|
||||
delete platformInstall["downloads"]?.server?.urls;
|
||||
return res.json(platformInstall);
|
||||
}).patch(async (req, res) => {
|
||||
const { id } = req.body;
|
||||
const localID = (await bdsCore.listIDs()).find(ind => ind.id === id);
|
||||
if (!localID) return res.status(400).json({error: "server not installed to update"});
|
||||
if (sessions[id]) await sessions[id].stopServer();
|
||||
const platformInstall = await (localID.platform === "java" ? bdsCore.Java.installServer : bdsCore.Bedrock.installServer)({
|
||||
newID: true,
|
||||
version: req.body?.version ?? "latest",
|
||||
altServer: req.body?.altServer as never,
|
||||
allowBeta: req.body?.allowBeta ?? req.query.allowBeta === "true"
|
||||
});
|
||||
delete platformInstall["downloads"]?.server?.urls;
|
||||
return res.json(platformInstall);
|
||||
}).post(async (req, res) => {
|
||||
const { id } = req.body;
|
||||
const idInfo = (await serverManeger.listIDs()).find(f => f.id === id);
|
||||
if (!idInfo) return res.status(400).json({error: "ID not exsists"});
|
||||
if (sessions[id]) return res.status(400).json({error: "Server are running"});
|
||||
sessions[id] = await (idInfo.platform === "java" ? bdsCore.Java.startServer : bdsCore.Bedrock.startServer)({
|
||||
newID: false,
|
||||
ID: id
|
||||
});
|
||||
sessions[id].once("close", () => delete sessions[id]).on("line", (line, from) => console.log("[%s from %s]: %s", id, from, line));
|
||||
return res.json({
|
||||
spawnargs: sessions[id].spawnargs,
|
||||
pid: sessions[id].pid,
|
||||
});
|
||||
});
|
||||
|
||||
app.route("/v1/server/:id").get((req, res) => {
|
||||
if (!sessions[req.params.id]) return res.status(400).json({error: "Session not running"});
|
||||
return res.json({
|
||||
// bedrockConnect: sessions[req.params.id].runOptions.paths.platform === "java" ? null : `minecraft:?addExternalServer=${sessions[req.params.id].runOptions.paths.id}|${}:${sessions[req.params.id].portListening.at(0).port}`,
|
||||
ports: sessions[req.params.id].portListening,
|
||||
player: sessions[req.params.id].playerActions.reduce((acc, player) => {
|
||||
if (!acc[player.playerName]) acc[player.playerName] = player;
|
||||
else acc[player.playerName] = {
|
||||
...player,
|
||||
previous: acc[player.playerName]
|
||||
};
|
||||
return acc;
|
||||
}, {})
|
||||
});
|
||||
}).post(async (req, res) => {
|
||||
if (!sessions[req.params.id]) return res.status(400).json({error: "Session not running"});
|
||||
if (Array.isArray(req.body)) sessions[req.params.id].sendCommand(...req.body);
|
||||
else sessions[req.params.id].sendCommand(req);
|
||||
return res.status(200).send("ok");
|
||||
}).delete((req, res) => {
|
||||
if (!sessions[req.params.id]) return res.status(400).json({error: "Session not running"});
|
||||
return sessions[req.params.id].stopServer().then(res.json).catch(err => res.status(400).json({err: String(err?.message || err)}));
|
||||
});
|
||||
|
||||
// Listen
|
||||
app.listen(process.env.PORT ?? 3000, function() {const a = this.address(); console.log("Bds API Listen on %O", a?.["port"] ?? a)});
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"references": [{"path": "../core"}]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bds-maneger",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.4",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"type": "module",
|
||||
@ -16,7 +16,7 @@
|
||||
},
|
||||
"keywords": [],
|
||||
"dependencies": {
|
||||
"@the-bds-maneger/core": "^6.0.3",
|
||||
"@the-bds-maneger/core": "^6.0.4",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
@ -39,12 +39,15 @@ yargs(process.argv.slice(2)).version(false).help(true).strictCommands().demandCo
|
||||
})
|
||||
.parseSync();
|
||||
|
||||
const installData = await (options.platform === "java" ? bdsCore.Java.installServer : bdsCore.Bedrock.installServer)({
|
||||
const serverPath = await bdsCore.serverManeger.serverManeger(options.platform === "java" ? "java" : "bedrock", {
|
||||
...(options.id ? {newID: false, ID: options.id} : {newID: true}),
|
||||
});
|
||||
|
||||
const installData = await (options.platform === "java" ? bdsCore.Java.installServer : bdsCore.Bedrock.installServer)(Object.assign({}, serverPath, {
|
||||
version: options.version,
|
||||
altServer: options.altserver as never,
|
||||
allowBeta: Boolean(options.beta)
|
||||
});
|
||||
}));
|
||||
|
||||
console.log("ID: %O, Server Version: %O, Server Date: %O", installData.id, installData.version, installData.date);
|
||||
})
|
||||
@ -73,7 +76,8 @@ yargs(process.argv.slice(2)).version(false).help(true).strictCommands().demandCo
|
||||
}).parseSync();
|
||||
const idInfo = (await bdsCore.listIDs()).find(local => local.id === option.id);
|
||||
if (!idInfo) throw new Error("Invalid ID");
|
||||
const session = await (idInfo.platform === "java" ? bdsCore.Java.startServer : bdsCore.Bedrock.startServer)({ID: idInfo.id});
|
||||
const sserverPaths = await bdsCore.serverManeger.serverManeger(option.platform === "java" ? "java" : "bedrock", {ID: option.id, newID: false});
|
||||
const session = await (idInfo.platform === "java" ? bdsCore.Java.startServer : bdsCore.Bedrock.startServer)(sserverPaths);
|
||||
process.on("error", console.log);
|
||||
session.once("backup", filePath => console.log("Backup file path: %O", filePath));
|
||||
process.stdin.pipe(session.stdin);
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@the-bds-maneger/core",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.4",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"types": "src/index.d.ts",
|
||||
@ -20,13 +20,15 @@
|
||||
"@sirherobrine23/extends": "^3.6.11",
|
||||
"@sirherobrine23/http": "^3.6.11",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"semver": "^7.5.0",
|
||||
"tar": "^6.1.14",
|
||||
"unzip-stream": "^0.3.1"
|
||||
"semver": "^7.5.1",
|
||||
"tar": "^6.1.15",
|
||||
"unzip-stream": "^0.3.1",
|
||||
"unzipper": "^0.10.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/semver": "^7.5.0",
|
||||
"@types/tar": "^6.1.5",
|
||||
"@types/unzip-stream": "^0.3.1"
|
||||
"@types/unzip-stream": "^0.3.1",
|
||||
"@types/unzipper": "^0.10.6"
|
||||
}
|
||||
}
|
2
packages/core/src/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "./reindex.js";
|
||||
export * as default from "./reindex.js";
|
4
packages/core/src/reindex.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export * from "./serverManeger.js";
|
||||
export * as serverManeger from "./serverManeger.js";
|
||||
export * as Bedrock from "./servers/bedrock.js";
|
||||
export * as Java from "./servers/java.js";
|
@ -19,15 +19,15 @@ export const bdsManegerRoot = ENVROOT ? path.resolve(process.cwd(), ENVROOT) : p
|
||||
if (!(await extendsFS.exists(bdsManegerRoot))) await fs.mkdir(bdsManegerRoot, {recursive: true});
|
||||
export type withPromise<T> = T|Promise<T>;
|
||||
|
||||
export type manegerOptions = {
|
||||
export interface manegerOptions {
|
||||
ID?: string,
|
||||
newID?: boolean,
|
||||
};
|
||||
|
||||
// only letters and numbers
|
||||
const idReg = /^[a-zA-Z0-9]+$/;
|
||||
const idReg = /^[a-zA-Z0-9_]+$/;
|
||||
|
||||
export type serverManegerV1 = {
|
||||
export interface serverManegerV1 {
|
||||
id: string,
|
||||
rootPath: string,
|
||||
serverFolder: string,
|
||||
@ -49,7 +49,7 @@ export async function serverManeger(platform: serverManegerV1["platform"], optio
|
||||
// Create or check if exists
|
||||
if (options.newID === true) {
|
||||
while(true) {
|
||||
options.ID = crypto.randomBytes(crypto.randomInt(8, 14)).toString("hex");
|
||||
options.ID = typeof crypto.randomUUID === "function" ? crypto.randomUUID().split("-").join("_") : crypto.randomBytes(crypto.randomInt(8, 14)).toString("hex");
|
||||
if (!(idReg.test(options.ID))) continue;
|
||||
if (!((await fs.readdir(platformFolder).catch(() => [])).includes(options.ID))) break;
|
||||
}
|
||||
@ -171,7 +171,7 @@ export declare class serverRun extends child_process.ChildProcess {
|
||||
avaibleDate?: Date;
|
||||
runOptions: runOptions;
|
||||
portListening: portListen[];
|
||||
logPath: {stderr: string, stdout: string};
|
||||
logPath: {stderr: string, stdout: string, merged: string};
|
||||
playerActions: playerAction[];
|
||||
stdoutInterface: readline.Interface;
|
||||
stderrInterface: readline.Interface;
|
||||
@ -186,6 +186,7 @@ export declare class serverRun extends child_process.ChildProcess {
|
||||
* Run servers globally and hormonally across servers
|
||||
*/
|
||||
export async function runServer(options: runOptions): Promise<serverRun> {
|
||||
if (!options.stdio) options.stdio = ["pipe", "pipe", "pipe"];
|
||||
const child = child_process.spawn(options.command, [...((options.args ?? []).map(String))], {
|
||||
// maxBuffer: Infinity,
|
||||
stdio: options.stdio,
|
||||
@ -210,8 +211,11 @@ export async function runServer(options: runOptions): Promise<serverRun> {
|
||||
const currentDate = new Date();
|
||||
const baseLog = path.join(options.paths.logs, format("%s_%s_%s_%s-%s-%s", currentDate.getDate(), currentDate.getMonth()+1, currentDate.getFullYear(), currentDate.getHours(), currentDate.getMinutes(), currentDate.getSeconds()));
|
||||
await fs.mkdir(baseLog, {recursive: true});
|
||||
child.logPath = {stdout: path.join(baseLog, "stdout.log"), stderr: path.join(baseLog, "stderr.log")};
|
||||
child.logPath = {stdout: path.join(baseLog, "stdout.log"), stderr: path.join(baseLog, "stderr.log"), merged: path.join(baseLog, "server.log")};
|
||||
const allLog = createWriteStream(child.logPath.merged);
|
||||
child.stdout.pipe(allLog);
|
||||
child.stdout.pipe(createWriteStream(child.logPath.stdout));
|
||||
child.stderr.pipe(allLog);
|
||||
child.stderr.pipe(createWriteStream(child.logPath.stderr));
|
||||
|
||||
// Lines
|
||||
@ -265,7 +269,7 @@ export async function runServer(options: runOptions): Promise<serverRun> {
|
||||
}
|
||||
|
||||
child.hotBackup = function hotBackup() {
|
||||
return Object.assign(Promise.resolve().then((async () => {
|
||||
return Object.assign({}, Promise.resolve().then((async () => {
|
||||
if (!options.serverActions?.hotBackup) throw new Error("Hot backup disabled to current platform!");
|
||||
child.emit("backup", "start");
|
||||
return Promise.resolve(options.serverActions.hotBackup.call(child) as ReturnType<typeof options.serverActions.hotBackup>).then(data => {
|
@ -1,21 +1,21 @@
|
||||
import fsOld, { promises as fs } from "node:fs";
|
||||
import coreHttp, { Github } from "@sirherobrine23/http";
|
||||
import { manegerOptions, runOptions, serverManeger, serverManegerV1 } from "../serverManeger.js";
|
||||
import { runOptions, serverManegerV1 } from "../serverManeger.js";
|
||||
import { oracleStorage } from "../internal.js";
|
||||
import { pipeline } from "node:stream/promises";
|
||||
import { Readable } from "node:stream";
|
||||
import extendsFS, { promiseChildProcess } from "@sirherobrine23/extends";
|
||||
import semver from "semver";
|
||||
import unzip from "unzip-stream";
|
||||
import unzip from "unzipper";
|
||||
import utils from "node:util";
|
||||
import path from "node:path";
|
||||
import tar from "tar";
|
||||
|
||||
export type bedrockOptions = manegerOptions & {
|
||||
export interface bedrockOptions {
|
||||
/**
|
||||
* Alternative server instead of official Mojang server
|
||||
*/
|
||||
altServer?: "pocketmine"|"powernukkit"|"nukkit"|"cloudbust",
|
||||
altServer?: "mojang"|"pocketmine"|"powernukkit"|"nukkit"|"cloudbust",
|
||||
};
|
||||
|
||||
const pocketmineGithub = await Github.repositoryManeger("pmmp", "PocketMine-MP");
|
||||
@ -47,7 +47,8 @@ export type bedrockList = {
|
||||
* @returns
|
||||
*/
|
||||
export async function listVersions(altServer?: bedrockOptions["altServer"]): Promise<bedrockList[]> {
|
||||
if (altServer) if (!(["cloudbust", "cloudbust", "nukkit", "pocketmine", "powernukkit"]).includes(altServer)) throw new TypeError("Invalid alt server");
|
||||
if (!altServer) altServer = "mojang";
|
||||
if (altServer) if (!(["mojang", "cloudbust", "cloudbust", "nukkit", "pocketmine", "powernukkit"]).includes(altServer)) throw new TypeError("Invalid alt server");
|
||||
if (altServer === "pocketmine") {
|
||||
return (await pocketmineGithub.release.getRelease()).filter(rel => (rel.assets.find(assert => assert.name.endsWith(".phar")) ?? {}).browser_download_url).map(rel => ({
|
||||
date: new Date(rel.created_at),
|
||||
@ -137,7 +138,8 @@ export async function listVersions(altServer?: bedrockOptions["altServer"]): Pro
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
} else if (altServer === "mojang") {
|
||||
|
||||
return (await coreHttp.jsonRequest<{version: string, date: Date, release?: "stable"|"preview", url: {[platform in NodeJS.Platform]?: {[arch in NodeJS.Architecture]?: string}}}[]>("https://sirherobrine23.github.io/BedrockFetch/all.json")).body.sort((b, a) => semver.compare(semver.valid(semver.coerce(a.version)), semver.valid(semver.coerce(b.version)))).map(rel => ({
|
||||
version: rel.version,
|
||||
date: new Date(rel.date),
|
||||
@ -156,11 +158,12 @@ export async function listVersions(altServer?: bedrockOptions["altServer"]): Pro
|
||||
}
|
||||
}
|
||||
}));
|
||||
} else throw new Error("Invalid platform");
|
||||
}
|
||||
|
||||
export async function installServer(options: bedrockOptions & {version?: string, allowBeta?: boolean}) {
|
||||
const serverPath = await serverManeger("bedrock", options);
|
||||
export async function installServer(serverPath: serverManegerV1, options: bedrockOptions & {version?: string, allowBeta?: boolean}) {
|
||||
const versions = await listVersions(options?.altServer);
|
||||
if (!options.altServer) options.altServer = "mojang";
|
||||
if (options.altServer === "pocketmine") {
|
||||
const rel = options.version === "latest" ? versions.at(0) : versions.find(rel => rel.version === options.version);
|
||||
if (!rel) throw new Error("Version not exsists");
|
||||
@ -179,7 +182,7 @@ export async function installServer(options: bedrockOptions & {version?: string,
|
||||
...rel,
|
||||
id: serverPath.id,
|
||||
};
|
||||
}
|
||||
} else if (options.altServer === "mojang") {
|
||||
const bedrockVersion = versions.find(rel => {
|
||||
if (rel.release === "preview") if (options.allowBeta !== true) return false;
|
||||
const version = (options.version ?? "latest").trim();
|
||||
@ -206,12 +209,13 @@ export async function installServer(options: bedrockOptions & {version?: string,
|
||||
...bedrockVersion,
|
||||
id: serverPath.id,
|
||||
};
|
||||
} else throw new Error("Invalid platform");
|
||||
}
|
||||
|
||||
export async function startServer(options: bedrockOptions) {
|
||||
const serverPath = await serverManeger("bedrock", options);
|
||||
export async function startServer(maneger: serverManegerV1, options: bedrockOptions) {
|
||||
if (!options.altServer) options.altServer = "mojang";
|
||||
if (options.altServer === "powernukkit"||options.altServer === "cloudbust") {
|
||||
return serverPath.runCommand({
|
||||
return maneger.runCommand({
|
||||
command: "java",
|
||||
args: [
|
||||
"-XX:+UseG1GC",
|
||||
@ -236,7 +240,7 @@ export async function startServer(options: bedrockOptions) {
|
||||
"-Daikars.new.flags=true",
|
||||
"-jar", "server.jar",
|
||||
],
|
||||
paths: serverPath,
|
||||
paths: maneger,
|
||||
serverActions: {
|
||||
stop() {
|
||||
this.sendCommand("stop");
|
||||
@ -244,13 +248,13 @@ export async function startServer(options: bedrockOptions) {
|
||||
}
|
||||
})
|
||||
} else if (options.altServer === "pocketmine") {
|
||||
return serverPath.runCommand({
|
||||
command: (await extendsFS.readdir(serverPath.serverFolder)).find(file => file.endsWith("php")||file.endsWith("php.exe")),
|
||||
return maneger.runCommand({
|
||||
command: (await extendsFS.readdir(maneger.serverFolder)).find(file => file.endsWith("php")||file.endsWith("php.exe")),
|
||||
args: [
|
||||
"server.phar",
|
||||
"--no-wizard"
|
||||
],
|
||||
paths: serverPath,
|
||||
paths: maneger,
|
||||
serverActions: {
|
||||
stop() {
|
||||
this.sendCommand("stop")
|
||||
@ -260,8 +264,8 @@ export async function startServer(options: bedrockOptions) {
|
||||
}
|
||||
if (process.platform === "darwin") throw new Error("Run in docker or podman!");
|
||||
const run: Omit<runOptions, "cwd"> = {
|
||||
command: path.join(serverPath.serverFolder, "bedrock_server"),
|
||||
paths: serverPath,
|
||||
command: path.join(maneger.serverFolder, "bedrock_server"+(process.platform === "win32" ? ".exe" : "")),
|
||||
paths: maneger,
|
||||
serverActions: {
|
||||
stop() {
|
||||
this.sendCommand("stop");
|
||||
@ -322,6 +326,19 @@ export async function startServer(options: bedrockOptions) {
|
||||
if (data.includes("started") && data.includes("Server")) return new Date();
|
||||
return null
|
||||
},
|
||||
async hotBackup() {
|
||||
const ff = (await fs.readdir(this.runOptions.paths.serverFolder)).filter(ff => {
|
||||
let ok = ff.endsWith(".json");
|
||||
if (!ok) ok = ff === "server.properties";
|
||||
if (!ok) ok = ff === "worlds";
|
||||
return ok;
|
||||
});
|
||||
return tar.create({
|
||||
gzip: true,
|
||||
cwd: this.runOptions.paths.serverFolder,
|
||||
prefix: ""
|
||||
}, ff);
|
||||
},
|
||||
postStart: [
|
||||
async function() {
|
||||
let breaked = false;
|
||||
@ -367,5 +384,5 @@ export async function startServer(options: bedrockOptions) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return serverPath.runCommand(run);
|
||||
return maneger.runCommand(run);
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
import { manegerOptions, serverManeger } from "../serverManeger.js";
|
||||
import { serverManegerV1 } from "../serverManeger.js";
|
||||
import { oracleStorage } from "../internal.js";
|
||||
import { extendsFS } from "@sirherobrine23/extends";
|
||||
import { pipeline } from "node:stream/promises";
|
||||
@ -9,11 +9,11 @@ import utils from "node:util";
|
||||
import path from "node:path";
|
||||
import fs from "node:fs";
|
||||
|
||||
export type javaOptions = manegerOptions & {
|
||||
export interface javaOptions {
|
||||
/**
|
||||
* Alternative server instead of official Mojang server
|
||||
*/
|
||||
altServer?: "spigot"|"paper"|"purpur"|"glowstone"|"folia"|"cuberite"
|
||||
altServer?: "mojang"|"spigot"|"paper"|"purpur"|"glowstone"|"folia"|"cuberite"
|
||||
};
|
||||
|
||||
export type javaList = {
|
||||
@ -30,7 +30,8 @@ export type javaList = {
|
||||
};
|
||||
|
||||
export async function listVersions(altServer?: javaOptions["altServer"]): Promise<javaList[]> {
|
||||
if (altServer) if(!(["paper", "folia", "purpur", "spigot", "glowstone", "cuberite"]).includes(altServer)) throw new TypeError("Invalid alt server!");
|
||||
if (!altServer) altServer = "mojang";
|
||||
if (altServer) if(!(["mojang", "paper", "folia", "purpur", "spigot", "glowstone", "cuberite"]).includes(altServer)) throw new TypeError("Invalid alt server!");
|
||||
if (altServer === "purpur") {
|
||||
return (await Promise.all((await coreHttp.jsonRequest<{versions: string[]}>("https://api.purpurmc.org/v2/purpur")).body.versions.map(async (version): Promise<javaList> => ({
|
||||
version,
|
||||
@ -143,8 +144,7 @@ export async function listVersions(altServer?: javaOptions["altServer"]): Promis
|
||||
},
|
||||
}]
|
||||
}));
|
||||
}
|
||||
|
||||
} else if (altServer === "mojang") {
|
||||
return (await Promise.all((await coreHttp.jsonRequest<{versions: {id: string, releaseTime: string, url: string, type: "snapshot"|"release"}[]}>("https://launchermeta.mojang.com/mc/game/version_manifest_v2.json")).body.versions.map(async (data): Promise<javaList> => {
|
||||
const fileURL = (await coreHttp.jsonRequest<{downloads: {[k: string]: {size: number, url: string}}}>(data.url)).body.downloads?.["server"]?.url;
|
||||
if (!fileURL) return null;
|
||||
@ -160,10 +160,11 @@ export async function listVersions(altServer?: javaOptions["altServer"]): Promis
|
||||
}],
|
||||
};
|
||||
}))).filter(a => !!a);
|
||||
} else throw new Error("Invalid platform");
|
||||
}
|
||||
|
||||
export async function installServer(options: javaOptions & {version?: string, allowBeta?: boolean}) {
|
||||
const serverPath = await serverManeger("java", options);
|
||||
export async function installServer(serverPath: serverManegerV1, options: javaOptions & {version?: string, allowBeta?: boolean}) {
|
||||
if (!options.altServer) options.altServer = "mojang";
|
||||
const version = (await listVersions(options.altServer)).filter(rel => rel.release === "stable" ? true : !!options.allowBeta).find(rel => (!options.version || options.version === "latest" || rel.version === options.version));
|
||||
if (!version) throw new Error("The specified version does not exist!");
|
||||
for (const file of version.getFile) await pipeline(await file.stream(), fs.createWriteStream(path.join(serverPath.serverFolder, file.fileName)));
|
||||
@ -176,8 +177,8 @@ export async function installServer(options: javaOptions & {version?: string, al
|
||||
};
|
||||
}
|
||||
|
||||
export async function startServer(options: javaOptions) {
|
||||
const serverPath = await serverManeger("java", options);
|
||||
export async function startServer(serverPath: serverManegerV1, options: javaOptions) {
|
||||
if (!options.altServer) options.altServer = "mojang";
|
||||
// Java server
|
||||
if (await extendsFS.exists(path.join(serverPath.serverFolder, "server.jar"))) {
|
||||
return serverPath.runCommand({
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@the-bds-maneger/verapi",
|
||||
"private": true,
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.4",
|
||||
"description": "Public API to Minecraft Servers",
|
||||
"main": "src/index.js",
|
||||
"type": "module",
|
||||
@ -16,10 +16,7 @@
|
||||
"directory": "package/verapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@the-bds-maneger/core": "^6.0.3",
|
||||
"@the-bds-maneger/core": "^6.0.4",
|
||||
"express": "^4.18.2"
|
||||
},
|
||||
"workspaces": [
|
||||
"../core"
|
||||
]
|
||||
}
|
||||
}
|
2
packages/web/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/*.env.*
|
||||
/*.env
|
8
packages/web/nodemon.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ext": "ts,cts,mts,json",
|
||||
"watch": ["src"],
|
||||
"exec": "ts-node",
|
||||
"args": [
|
||||
"src/index.ts"
|
||||
]
|
||||
}
|
36
packages/web/package.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@the-bds-maneger/web",
|
||||
"version": "6.0.4",
|
||||
"type": "module",
|
||||
"author": "Matheus Sampaio Queiroga <srherobrine20@gmail.com>",
|
||||
"license": "GPL-3.0",
|
||||
"scripts": {
|
||||
"prepack": "tsc --build --clean && tsc --build && next build ./src/next/",
|
||||
"postpack": "tsc --build --clean",
|
||||
"dev": "nodemon"
|
||||
},
|
||||
"bin": {
|
||||
"bds-web": "src/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@the-bds-maneger/core": "^6.0.4",
|
||||
"@types/express-session": "^1.17.7",
|
||||
"dotenv": "^16.0.3",
|
||||
"express": "^4.18.2",
|
||||
"express-rate-limit": "^6.7.0",
|
||||
"express-session": "^1.17.3",
|
||||
"mongodb": "^5.5.0",
|
||||
"next": "^13.4.4",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"ssh2": "^1.13.0",
|
||||
"xterm": "^5.1.0",
|
||||
"yaml": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/react": "18.2.7",
|
||||
"@types/ssh2": "^1.11.11",
|
||||
"nodemon": "^2.0.22"
|
||||
}
|
||||
}
|
85
packages/web/src/cookie.ts
Normal file
@ -0,0 +1,85 @@
|
||||
|
||||
import cookie, { Store } from "express-session";
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
import { database } from "./db.js";
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
declare module "express-session" {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
interface SessionData {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
userID: string;
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
export type cookieSave = {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
sid: string;
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
session: cookie.SessionData;
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
};
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
export const cookieCollection = database.collection<cookieSave>("authCookie");
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
class bdsSession extends Store {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
nMap = new Map<string, cookie.SessionData>();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
destroy(sid: string, callback?: (err?: any) => void): void {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
if (this.nMap.has(sid)) this.nMap.delete(sid);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
cookieCollection.deleteOne({sid}).then(() => callback(), err => callback(err));
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
get(sid: string, callback: (err?: any, session?: cookie.SessionData) => void) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
if (this.nMap.has(sid)) return callback(null, this.nMap.get(sid));
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
(async () => {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
try {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
const inDb = await cookieCollection.findOne({sid});
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
if (inDb) return callback(null, inDb.session);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
return callback();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
} catch (err) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
return callback(err);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
})();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
set(sid: string, session: cookie.SessionData, callback?: (err?: any) => void) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
(async () => {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
try {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
if (this.nMap.has(sid)) return callback();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
this.nMap.set(sid, session);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
const existsInDb = await cookieCollection.findOne({sid});
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
if (existsInDb) await cookieCollection.deleteOne({sid});
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
await cookieCollection.insertOne({
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
sid,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
session: typeof session["toJSON"] === "function" ? session["toJSON"]() : session,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
});
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
this.nMap.delete(sid);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
return callback();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
} catch (err) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
callback(err);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
})();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
all(callback: (err: any, obj?: cookie.SessionData[] | { [sid: string]: cookie.SessionData; }) => void) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
(async () => {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
try {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
const sessions = await cookieCollection.find().toArray();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
callback(null, sessions.reduce<Parameters<typeof callback>[1]>((acc, data) => {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
acc[data.sid] = data.session;
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
return acc;
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}, {}));
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
} catch (err) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
callback(err);
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
})();
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
clear(callback?: (err?: any) => void) {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
cookieCollection.deleteMany({}).then(() => callback(), err => callback(err));
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
}
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
export default cookie({
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
name: "bdsLogin",
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
secret: process.env.COOKIE_SECRET,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
resave: true,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
saveUninitialized: true,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
cookie: {
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
maxAge: 1000 * 60 * 60 * 24 * 7 * 30,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
httpOnly: false,
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
secure: "auto"
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
},
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
store: new bdsSession(),
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
||||
})
|
||||
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/130)
![]() Clear text transmission of sensitive cookieSensitive cookie sent without enforcing SSL encryption. ## Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/131)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/132)
![]() Sensitive server cookie exposed to the clientSensitive server cookie is missing 'httpOnly' flag. ## Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/140)
![]() Missing CSRF middlewareThis cookie middleware is serving a request handler without CSRF protection. ## Missing CSRF middleware
This cookie middleware is serving a [request handler](1) without CSRF protection.
This cookie middleware is serving a [request handler](2) without CSRF protection.
This cookie middleware is serving a [request handler](3) without CSRF protection.
This cookie middleware is serving a [request handler](4) without CSRF protection.
This cookie middleware is serving a [request handler](5) without CSRF protection.
This cookie middleware is serving a [request handler](6) without CSRF protection.
This cookie middleware is serving a [request handler](7) without CSRF protection.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/141)
|
135
packages/web/src/db.ts
Normal file
@ -0,0 +1,135 @@
|
||||
import { serverManegerV1, bdsManegerRoot, runServer, runOptions } from "@the-bds-maneger/core";
|
||||
import { MongoClient } from "mongodb";
|
||||
import { extendsFS } from "@sirherobrine23/extends";
|
||||
import { promisify } from "node:util";
|
||||
import crypto from "node:crypto";
|
||||
import path from "node:path";
|
||||
import fs from "node:fs/promises";
|
||||
export const { MONGO_URI = "mongodb://127.0.0.1", DB_NAME = "bdsWeb" } = process.env;
|
||||
|
||||
export const client = await (new MongoClient(MONGO_URI)).connect();
|
||||
export const database = client.db(DB_NAME);
|
||||
|
||||
export type userPermission = "root"|"admin"|"confirm";
|
||||
export type userCollection = {
|
||||
ID: string;
|
||||
createAt: Date;
|
||||
email: string;
|
||||
password: {
|
||||
salt: string;
|
||||
hash: string;
|
||||
};
|
||||
username: string;
|
||||
permissions: userPermission[];
|
||||
tokens: string[];
|
||||
};
|
||||
|
||||
export const userCollection = database.collection<userCollection>("user");
|
||||
|
||||
export async function createToken() {
|
||||
let token: string;
|
||||
function bufToChar(buf: Buffer) {
|
||||
let str: string = "";
|
||||
for (let i = 0; buf.length > i; i++) {
|
||||
if ((/[a-zA-Z0-9]/).test(String.fromCharCode(buf[i]))) str += String.fromCharCode(buf[i]);
|
||||
else str += randomInt(2, 20000);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
while (true) {
|
||||
if (await userCollection.findOne({tokens: [(token = "tk_"+bufToChar(randomBytes(16)))]})) continue;
|
||||
break;
|
||||
}
|
||||
return token;
|
||||
}
|
||||
|
||||
export async function passworldSc(input: string): Promise<{hash: string, salt: string}> {
|
||||
const iv = crypto.randomBytes(16);
|
||||
const secret = crypto.randomBytes(24);
|
||||
return new Promise((done, reject) => {
|
||||
crypto.scrypt(secret, "salt", 24, (err, key) => {
|
||||
if (err) return reject(err);
|
||||
const cipher = crypto.createCipheriv("aes-192-cbc", key, iv);
|
||||
cipher.on("error", reject);
|
||||
return done({
|
||||
hash: Buffer.from(cipher.update(input, "utf8", "hex") + cipher.final("hex"), "utf8").toString("base64"),
|
||||
salt: Buffer.from(iv.toString("hex") + "::::" + secret.toString("hex"), "utf8").toString("base64")
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export async function passworldDc(hash: string, salt: string): Promise<string> {
|
||||
const hashSplit = Buffer.from(salt, "base64").toString("utf8").split("::::");
|
||||
return new Promise((done, reject) => {
|
||||
const iv = Buffer.from(hashSplit.at(0), "hex");
|
||||
const secret = Buffer.from(hashSplit.at(1), "hex");
|
||||
crypto.scrypt(secret, "salt", 24, (err, key) => {
|
||||
if (err) return reject(err);
|
||||
const decipher = crypto.createDecipheriv("aes-192-cbc", key, iv);
|
||||
decipher.on("error", reject);
|
||||
return done(decipher.update(Buffer.from(hash, "base64").toString(), "hex", "utf8") + decipher.final("utf8"));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export async function passwordCheck(info: userCollection, password: string) {
|
||||
const { password: { hash, salt } } = info;
|
||||
return (await passworldDc(hash, salt)) === password;
|
||||
}
|
||||
|
||||
export type serverDB = {
|
||||
ID: string;
|
||||
platform: serverManegerV1["platform"];
|
||||
users: string[];
|
||||
};
|
||||
|
||||
export const serversIDs = database.collection<serverDB>("server");
|
||||
|
||||
export async function getServerPaths(ID: string): Promise<serverManegerV1> {
|
||||
const info = await serversIDs.findOne({ID});
|
||||
if (!(info)) throw new Error("Server not exists!");
|
||||
|
||||
const rootPath = path.join(bdsManegerRoot, info.platform, ID);
|
||||
const serverFolder = path.join(rootPath, "server");
|
||||
const backup = path.join(rootPath, "backups");
|
||||
const log = path.join(rootPath, "logs");
|
||||
|
||||
// Create folders
|
||||
for (const p of [serverFolder, backup, log]) if (!(await extendsFS.exists(p))) await fs.mkdir(p, {recursive: true});
|
||||
|
||||
return {
|
||||
id: ID,
|
||||
platform: info.platform,
|
||||
rootPath,
|
||||
serverFolder,
|
||||
backup,
|
||||
logs: log,
|
||||
async runCommand(options: Omit<runOptions, "cwd">) {
|
||||
return runServer({
|
||||
...options,
|
||||
cwd: serverFolder
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export async function createServerID(platform: serverManegerV1["platform"], usersIds: string[] = []): Promise<serverManegerV1> {
|
||||
if (!((["bedrock", "java"]).includes(platform))) throw new Error("Set valid platform name!");
|
||||
|
||||
// Create Server ID
|
||||
let ID: string;
|
||||
while (true) {
|
||||
if (await userCollection.findOne({ID: (ID = randomUUID().split("-").join("_"))})) continue;
|
||||
else if (await extendsFS.exists(path.join(bdsManegerRoot, platform, ID))) continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// Insert
|
||||
await serversIDs.insertOne({ID, platform, users: []});
|
||||
|
||||
// If seted user inject to DB
|
||||
if (usersIds && usersIds.length > 0) await serversIDs.findOneAndUpdate({ID}, {$set: {users: usersIds}});
|
||||
|
||||
return getServerPaths(ID);
|
||||
}
|
39
packages/web/src/index.ts
Normal file
@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env node
|
||||
import "dotenv/config.js";
|
||||
import express from "express";
|
||||
import cookie from "./cookie.js";
|
||||
import expressLayer from "express/lib/router/layer.js";
|
||||
import * as nextPage from "./reactServer.js";
|
||||
import mcserverAPI from "./mcserver.js";
|
||||
import loginRegisterRoute from "./login.js";
|
||||
|
||||
// Patch express promise catch's
|
||||
expressLayer.prototype.handle_request = async function handle_request_promised(...args) {
|
||||
var fn = this.handle;
|
||||
if (fn.length > 3) return args.at(-1)();
|
||||
await Promise.resolve().then(() => fn.call(this, ...args)).catch(args.at(-1));
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/148)
|
||||
|
||||
// Express app
|
||||
const app = express();
|
||||
|
||||
app.disable("etag").disable("x-powered-by");
|
||||
app.use(cookie, express.json(), express.urlencoded({extended: true}));
|
||||
|
||||
// API
|
||||
app.use("/api/mcserver", mcserverAPI);
|
||||
app.use(loginRegisterRoute);
|
||||
|
||||
// Next request
|
||||
app.all("*", (req, res) => nextPage.nextHandler(req, res));
|
||||
|
||||
// 500 error
|
||||
app.use((err, _req, res, _next) => {
|
||||
console.error(err);
|
||||
res.status(500).json({error: err?.message||err})
|
||||
});
|
||||
|
||||
app.listen(Number(process.env.PORT || "3000"), function() {
|
||||
console.log("Server listen on %O", this.address());
|
||||
this.on("upgrade", nextPage.nextUpgarde);
|
||||
});
|
90
packages/web/src/login.ts
Normal file
@ -0,0 +1,90 @@
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import express from "express";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import rateLimit from "express-rate-limit";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import crypto from "node:crypto";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import { createToken, passwordCheck, passworldSc, userCollection } from "./db.js";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import { pageRender } from "./reactServer.js";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
import path from "node:path";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const app = express.Router();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
export default app;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.get("/login", (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return pageRender(req, res, "/login");
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.get("/register", (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return pageRender(req, res, "/register");
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
// Rate limit
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.use(rateLimit({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
max: 500,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
windowMs: 1000 * 60 * 60 * 2,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
message: "Try again more later, you have many requests!"
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
}));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.post("/api/login", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (typeof req.body !== "object") return res.status(400).json({ error: "Require body to login" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const existsUser = await userCollection.findOne({ $or: [{ username: req.body.username }, { email: req.body.username }] });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (!existsUser) return res.status(400).json({ error: "User not exists" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
else if (!(await passwordCheck(existsUser, req.body.password))) return res.status(401).json({ error: "Invalid password" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
req.session.userID = existsUser.ID;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
await new Promise<void>((done, reject) => req.session.save(err => err ? reject(err) : done()));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return res.json({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
ID: existsUser.ID,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
createAt: existsUser.createAt,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
username: existsUser.username,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
permissions: existsUser.permissions,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.delete("/api/logout", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (typeof req.session.userID === "string") await new Promise<void>((done, reject) => req.session.destroy(err => err ? reject(err) : done()));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return res.sendStatus(200);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.post("/api/register", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (typeof req.body !== "object") return res.status(400).json({ error: "Require body to register user!" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const { username, email, password } = req.body;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (!(typeof username === "string" && typeof email === "string")) return res.status(400).json({ error: "Invalid username and email body" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
else if (!(typeof password === "string" && (password.length >= 8))) return res.status(400).json({ error: "Require password with 8 characters" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
else if (await userCollection.findOne({ $or: [{ username }, { email }] })) return res.status(400).json({ error: "Username or Email in use!" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const passEncrypt = await passworldSc(password);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
let ID: string;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
while (true) if (!(await userCollection.findOne({ ID: (ID = crypto.randomUUID()) }))) break;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const token = await createToken();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
await userCollection.insertOne({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
ID, createAt: new Date(),
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
email, username, password: passEncrypt,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
tokens: [token],
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
permissions: [
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
"confirm"
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
]
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return res.json({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
ID,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
token
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const deleteIDs = new Map<string, string>();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.delete("/api/register", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (typeof req.session.userID !== "string") return res.status(400).json({ error: "Require login fist to delete account" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
let deleteID: string;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
while (true) if (!(deleteIDs.has((deleteID = crypto.randomUUID())))) break;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
deleteIDs.set(deleteID, req.session.userID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const location = path.posix.join((new URL(req.url, "localhost.com")).pathname, deleteID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
res.setHeader("Location", location);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return res.status(201).json({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
deleteID
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
app.delete("/api/register/:deleteID", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
if (!(deleteIDs.has(req.params.deleteID))) return res.status(400).json({ error: "Id not exists!" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
else if (deleteIDs.get(req.params.deleteID) !== req.session.userID) return res.status(400).json({ error: "You do not have access to this ID" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
const userInfo = await userCollection.findOneAndDelete({ ID: req.session.userID });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
deleteIDs.delete(req.params.deleteID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
return res.json(userInfo.value);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/142)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
This route handler performs [a database access](4), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/143)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/144)
|
131
packages/web/src/mcserver.ts
Normal file
@ -0,0 +1,131 @@
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
import { Bedrock, Java, serverRun } from "@the-bds-maneger/core";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
import express from "express";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
import fs from "node:fs/promises";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
import { createServerID, getServerPaths, passwordCheck, serversIDs, userCollection } from "./db.js";
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const app = express.Router();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
export default app;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
declare global {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
namespace Express {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
export interface Request {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
userInfo?: userCollection;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
// Check token
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.use(async (req, res, next) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (typeof req.headers.authorization === "string") {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const { authorization } = req.headers;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (authorization.startsWith("Basic ")) {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const authDecrypt = Buffer.from(authorization.slice(5).trim(), "base64").toString("utf8");
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const username = authDecrypt.slice(0, authDecrypt.indexOf(":"));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const password = authDecrypt.slice(authDecrypt.indexOf(":") + 1);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(username && password)) return res.status(401).json({ error: "Basic auth require username and password!" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const userInfo = await userCollection.findOne({ $or: [{ username }, { email: username }] });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!userInfo) return res.status(401).json({ error: "User not exists" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(await passwordCheck(userInfo, password))) return res.status(401).json({ error: "Invalid password" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
req.session.userID = userInfo.ID;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
} else if (authorization.startsWith("Token ") || authorization.startsWith("token ")) {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const token = authorization.slice(5).trim();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/149)
|
||||
const userInfo = await userCollection.findOne({ tokens: [token] });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!userInfo) return res.status(401).json({ error: "Token not exists" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
req.session.userID = userInfo.ID;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
} else return res.status(401).json({ error: "Invalid authorization schema" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
await new Promise<void>((done, reject) => req.session.save(err => err ? reject(err) : done()));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/150)
|
||||
if (typeof req.session.userID !== "string") return res.status(401).json({ error: "Not authenticated" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const userInfo = req.userInfo = await userCollection.findOne({ ID: req.session.userID });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!userInfo) {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
await new Promise<void>((done, reject) => req.session.destroy(err => err ? reject(err) : done()));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.status(401).json({ error: "User not exists" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
} else if (userInfo.permissions.includes("confirm")) return res.status(401).json({ error: "Unauthorized, ask the Site administrator for confirmation!" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return next();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const sessionMAP = new Map<string, serverRun>();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
// List auth user server allow access
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.get("/", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const servers = await serversIDs.find({ users: [req.session.userID] }).toArray();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.json(servers.map(info => ({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
ID: info.ID,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
platform: info.platform,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
running: sessionMAP.has(info.ID),
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
})));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
// Create new Server
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.post("/", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(req.userInfo.permissions.includes("admin"))) return res.status(401).json({ error: "You no have access to create server" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (typeof req.body !== "object") return res.status(400).json({ error: "Require body to setup server" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const { platform } = req.body;
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(platform === "bedrock" || platform === "java")) res.status(400).json({ error: "Invalid platform" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const v1 = await createServerID(platform, [req.session.userID]);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (platform === "bedrock") {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
await Bedrock.installServer(v1, { version: req.body.version, altServer: req.body.altServer, allowBeta: !!req.body.allowBeta });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
} else {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
await Java.installServer(v1, { version: req.body.version, altServer: req.body.altServer, allowBeta: !!req.body.allowBeta });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
}
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.status(201).json({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
ID: v1.id
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.delete("/", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(req.userInfo.permissions.includes("admin"))) return res.status(401).json({ error: "You no have access to create server" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (typeof req.body !== "object") return res.status(400).json({ error: "Require body to setup server" });
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const serverInfo = await serversIDs.findOne({ID: String(req.body.id)});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(serverInfo)) return res.status(404).json({error: "Server not exists"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (sessionMAP.has(serverInfo.ID)) await sessionMAP.get(serverInfo.ID).stopServer();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const v1 = await getServerPaths(serverInfo.ID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/151)
|
||||
await fs.rm(v1.rootPath, {recursive: true, force: true});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.json((await serversIDs.findOneAndDelete({ID: serverInfo.ID})).value);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.get("/server/:ID", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const serverInfo = await serversIDs.findOne({ID: req.params.ID});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(serverInfo)) return res.status(404).json({error: "Server not exists"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(serverInfo.users.includes(req.session.userID))) return res.status(404).json({error: "You do not have permission for this server"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const Running = sessionMAP.get(serverInfo.ID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.json({
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
running: !!Running,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
ports: Running?.portListening,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
players: Running?.playerActions,
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.get("/server/:ID/hotbackup", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const serverInfo = await serversIDs.findOne({ID: req.params.ID});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(serverInfo)) return res.status(404).json({error: "Server not exists"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(serverInfo.users.includes(req.session.userID))) return res.status(404).json({error: "You do not have permission for this server"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(sessionMAP.has(req.params.ID))) return res.status(400).json({error: "Server not running"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const run = sessionMAP.get(serverInfo.ID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const data = await run.hotBackup();
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!data) return res.status(503).json({error: "Server not support hot backup"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return data.pipe(res.writeHead(200, {}));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.post("/server/:ID", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const serverInfo = await serversIDs.findOne({ID: req.params.ID});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(serverInfo)) return res.status(404).json({error: "Server not exists"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(serverInfo.users.includes(req.session.userID))) return res.status(404).json({error: "You do not have permission for this server"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (sessionMAP.has(serverInfo.ID)) return res.status(400).json({error: "the server is already running"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const v1 = await getServerPaths(serverInfo.ID);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const server = await (serverInfo.platform === "bedrock" ? Bedrock.startServer : Java.startServer)(v1, {});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
sessionMAP.set(v1.id, server);
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
server.once("exit", () => sessionMAP.delete(v1.id));
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.status(201).json({ID: v1.id, pid: server.pid});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
app.delete("/server/:ID", async (req, res) => {
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
const serverInfo = await serversIDs.findOne({ID: req.params.ID});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
if (!(serverInfo)) return res.status(404).json({error: "Server not exists"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(serverInfo.users.includes(req.session.userID))) return res.status(404).json({error: "You do not have permission for this server"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
else if (!(sessionMAP.has(req.params.ID))) return res.status(400).json({error: "Server not running"});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
return res.json(await sessionMAP.get(req.params.ID).stopServer());
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
||||
});
|
||||
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
This route handler performs [a database access](3), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/133)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/134)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
This route handler performs [a database access](2), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/135)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/136)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/137)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/138)
![]() Missing rate limitingThis route handler performs a database access, but is not rate-limited. ## Missing rate limiting
This route handler performs [a database access](1), but is not rate-limited.
[Show more details](https://github.com/Sirherobrine23/bdsManeger/security/code-scanning/139)
|
5
packages/web/src/next/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Next
|
||||
.next/
|
||||
|
||||
# Include typescript
|
||||
!next-env.d.ts
|
5
packages/web/src/next/next-env.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
14
packages/web/src/next/next.config.cjs
Normal file
@ -0,0 +1,14 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
experimental: {
|
||||
typedRoutes: true,
|
||||
},
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
3
packages/web/src/next/pages/index.tsx
Normal file
@ -0,0 +1,3 @@
|
||||
export default function Home() {
|
||||
return <>Works from Express + Next.js</>;
|
||||
}
|
14
packages/web/src/next/pages/login.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
export default function LoginPage() {
|
||||
return <>
|
||||
<form action="/api/login" method="post">
|
||||
<div>
|
||||
<label>Username/Email: </label>
|
||||
<input type="text" name="username" />
|
||||
</div>
|
||||
<div>
|
||||
<label>Password: </label>
|
||||
<input type="password" name="password" />
|
||||
</div>
|
||||
</form>
|
||||
</>;
|
||||
}
|
9
packages/web/src/next/pages/register.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
export default function RegisterPage() {
|
||||
return <>
|
||||
<form action="/api/register" method="post">
|
||||
<div>
|
||||
<input type="email" name="email" />
|
||||
</div>
|
||||
</form>
|
||||
</>;
|
||||
}
|
24
packages/web/src/next/tsconfig.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"jsx": "preserve",
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"noEmit": true,
|
||||
"incremental": true,
|
||||
"resolveJsonModule": true,
|
||||
"lib": [
|
||||
"dom",
|
||||
"DOM.Iterable"
|
||||
],
|
||||
},
|
||||
"exclude": [
|
||||
"**/next.config.*js",
|
||||
"**/.next/"
|
||||
],
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx"
|
||||
]
|
||||
}
|
28
packages/web/src/reactServer.ts
Normal file
@ -0,0 +1,28 @@
|
||||
import _next from "next";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const next: typeof _next.default = _next as any;
|
||||
let _require: typeof require;
|
||||
if (typeof require === "function") _require = require; else _require = (await import("module")).default.createRequire(import.meta.url);
|
||||
export const dev = import.meta.url.endsWith(".ts"), { PORT = "3000", HOSTNAME = "localhost" } = process.env;
|
||||
|
||||
const dir = path.join(__dirname, "next");
|
||||
export const nextApp = next({
|
||||
customServer: true,
|
||||
hostname: HOSTNAME,
|
||||
quiet: true,
|
||||
port: Number(PORT),
|
||||
conf: _require(path.join(dir, "next.config.cjs")),
|
||||
dir,
|
||||
dev,
|
||||
});
|
||||
|
||||
await nextApp.prepare();
|
||||
export const nextHandler = nextApp.getRequestHandler();
|
||||
export const nextUpgarde = nextApp.getUpgradeHandler();
|
||||
export const {
|
||||
render: pageRender,
|
||||
render404,
|
||||
renderError,
|
||||
} = nextApp;
|
11
packages/web/tsconfig.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"references": [
|
||||
{
|
||||
"path": "../core"
|
||||
}
|
||||
],
|
||||
"exclude": [
|
||||
"src/next/next.config.cjs"
|
||||
]
|
||||
}
|
@ -20,7 +20,8 @@
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.test.ts",
|
||||
"node_modules/"
|
||||
"**/node_modules/**",
|
||||
"packages/verapi/**"
|
||||
],
|
||||
"ts-node": {
|
||||
"files": true,
|
||||
|
Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
Show more details
Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
Show more details
Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
Show more details
Clear text transmission of sensitive cookie
Sensitive cookie sent without enforcing SSL encryption.
Show more details
Missing CSRF middleware
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
Show more details
Missing CSRF middleware
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
Show more details
Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
Show more details
Missing CSRF middleware
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
Show more details
Sensitive server cookie exposed to the client
Sensitive server cookie is missing 'httpOnly' flag.
Show more details
Missing CSRF middleware
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
This cookie middleware is serving a request handler without CSRF protection.
Show more details