diff --git a/scripts/audit-all-pages-content.js b/scripts/audit-all-pages-content.js new file mode 100644 index 0000000..b40c055 --- /dev/null +++ b/scripts/audit-all-pages-content.js @@ -0,0 +1,66 @@ +const { Client } = require('ssh2'); + +const remoteScript = ` +const fs = require('fs'); +const path = require('path'); + +const root = '/home/adminbackend/web/demoplace.my.id/public_html/.next/standalone/.next/server/app/(dashboard)'; + +function scanDir(dir) { + const results = []; + if (!fs.existsSync(dir)) return results; + const items = fs.readdirSync(dir, { withFileTypes: true }); + for (const item of items) { + const fullPath = path.join(dir, item.name); + if (item.isDirectory()) { + results.push(...scanDir(fullPath)); + } else if (item.name.endsWith('.html') || item.name.endsWith('.js')) { + results.push(fullPath); + } + } + return results; +} + +console.log('=== AUDITING ALL PAGE HEADERS AND TITLES ON DEMOPLACE.MY.ID ===\\n'); + +const files = scanDir(root); +files.forEach(file => { + const content = fs.readFileSync(file, 'utf8'); + const rel = path.relative(root, file); + + // Extract
Managed DPI probes, remote collectors, and probe infrastructure.
+Domain Name System resolution analytics and query logs.
+- Deep Packet Inspection metadata and fingerprinting.{" "} - Click any row to view device-level detail. -
++ Deep Packet Inspection metadata and fingerprinting.{" "} + Click any row to view device-level detail. +
+Real-time system, security, and interface network log events.
+Real-time IP connection flows and protocol analysis.
+Visualize data flow and activity across the globe.
+Geographic distribution of inbound and outbound traffic by country.
Deep threat intelligence feeds and security detections.
+- Search BackOne's extensive classification database of over 2,500+ apps, protocols, and services. -
++ Search BackOne's extensive classification database of over 2,500+ apps, protocols, and services. +
+Physical, logical, and geographic network topologies.
+Physical, logical, and geographic network topologies.
+Deep packet inspection analytics and geography.
- Monitor TLS versions distribution, cipher suites, active certificate properties, and device risk profiles. -
++ Monitor TLS versions distribution, cipher suites, active certificate properties, and device risk profiles. +
+Monitor and respond to network security threats.