Adding the project for code injection and XSS vulnerability testing
This project is designed to help developers understand and mitigate code injection and XSS vulnerabilities. It includes a backend API and a frontend interface for testing various attack vectors in a controlled environment.
This commit is contained in:
10
backend/src/routes/routes.js
Normal file
10
backend/src/routes/routes.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const network = require("../api/network/network");
|
||||
const secureNetwork = require("../api/network/secureNetwork");
|
||||
|
||||
const routes = (app) => {
|
||||
app.use("/api", network);
|
||||
app.use("/api/secure", secureNetwork);
|
||||
return network;
|
||||
};
|
||||
|
||||
module.exports = routes;
|
||||
Reference in New Issue
Block a user