a2e8ad584b
FEATURE: Domain Discovery for Standalone Servers - Added get_standalone_user_domains() function - Parses Apache VirtualHost configs (/etc/apache2, /etc/httpd) - Falls back to checking domain directories in user home - Returns sorted list of unique domains FEATURE: Log Discovery Implementation - Implemented build_logs_section() for log file discovery - Standalone: Find access/error logs in log directory - Nginx support: Find logs in /var/log/nginx - Safety limits: 30-day files, max 50 per type, max depth 2 - Prevents hangs on large log directories BENEFITS: ✅ Standalone servers now discover domains ✅ Standalone servers now discover logs ✅ malware-scanner can now run on standalone ✅ website-error-analyzer can now run on standalone ✅ live-attack-monitor can now run on standalone ✅ log-tailing tools now work SAFETY: - Limited to recent files (mtime -30) - Limited search depth (maxdepth 1-2) - Limited result count (head 50) - No regex hangs from large directory scans