Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0815a45c93 | |||
| 211d03189a | |||
| 48c768ef00 | |||
| c897cd4858 | |||
| 5e09e812c3 | |||
| 0133159c0f | |||
| 9e582170dc | |||
| 09f3c5c97b | |||
| f8a53f0d2f |
@@ -14,11 +14,6 @@ app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
|
||||
|
||||
app.get('/api/search', (req, res) => {
|
||||
const termo = req.query.q || '';
|
||||
// Vulnerabilidade Crítica: XSS Refletido
|
||||
res.send(`<html><body><h1>Resultados para: ${termo}</h1></body></html>`);
|
||||
});
|
||||
|
||||
// Serve a pasta frontend
|
||||
app.use(express.static(path.join(__dirname, '../frontend'), { extensions: ['html'] }));
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
<span class="block text-blue-600">Modern website-secure</span>
|
||||
</h1>
|
||||
<p class="mt-6 max-w-2xl text-lg text-gray-500 leading-relaxed">
|
||||
At Apex Solutions, we deliver high-quality business consulting, technology services, and strategic insights. We help organizations across the globe achieve their goals through operational excellence and digital transformation.
|
||||
CI/CD TEST Works
|
||||
</p>
|
||||
<div class="mt-10 flex gap-4">
|
||||
<a href="#services" class="px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700">Explore Services</a>
|
||||
|
||||
Generated
-30
@@ -1307,9 +1307,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1324,9 +1321,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1341,9 +1335,6 @@
|
||||
"loong64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1358,9 +1349,6 @@
|
||||
"loong64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1375,9 +1363,6 @@
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1392,9 +1377,6 @@
|
||||
"riscv64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1409,9 +1391,6 @@
|
||||
"riscv64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1426,9 +1405,6 @@
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1443,9 +1419,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1460,9 +1433,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"nodemailer": "^8.0.11"
|
||||
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^30.4.2",
|
||||
|
||||
Reference in New Issue
Block a user