diff --git a/backend/server.js b/backend/server.js index 756a699..51387fd 100644 --- a/backend/server.js +++ b/backend/server.js @@ -23,9 +23,9 @@ app.get('/careers', (req, res) => res.sendFile(path.join(__dirname, '../frontend app.get('/contact', (req, res) => res.sendFile(path.join(__dirname, '../frontend/contact.html'))); // ========================================== -// ROTA VULNERÁVEL (Armadilha infalível para o OWASP ZAP) +// VULNERÁVEL (OWASP ZAP) // ========================================== -app.get('/api/search', (req, res) => { +/*app.get('/api/search', (req, res) => { const termo = req.query.q || ''; // A vulnerabilidade crítica: devolver o input diretamente no HTML res.send(` @@ -37,7 +37,7 @@ app.get('/api/search', (req, res) => { `); -}); +});*/ // Configuração do transporte de E-mail (Mocks de teste vs Produção) let transporter; diff --git a/frontend/index.html b/frontend/index.html index c2469ae..1d566d0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -93,12 +93,12 @@ -
+