Commit Graph

78 Commits

Author SHA1 Message Date
cschantz d8d9131b4e Major launcher cleanup - remove all non-existent menu items
Problem:
- Launcher had 100+ menu items for features that don't exist
- Confusing nested menus with placeholder functions
- Most security/monitoring/backup options pointed to unimplemented modules
- 1576 lines with massive complexity

Solution - Streamlined launcher with ONLY implemented features:

Main Menu (6 options):
1. System Health Check
2. Security & Monitoring
3. Website Diagnostics
4. Performance Analysis
5. Backup & Recovery
6. Cleanup Toolkit Data

Security & Monitoring (14 options):
✓ Bot & Traffic Analyzer (full + quick scan)
✓ IP Reputation Manager
✓ Malware Scanner
✓ Live Attack Monitor
✓ SSH Attack Monitor
✓ Web Traffic Monitor
✓ Firewall Activity Monitor
✓ 4x Log Tail viewers (Apache access/error, mail, secure)
✓ Enable cPHulk
✓ Optimize CT_LIMIT

Website Diagnostics (3 options):
✓ Website Error Analyzer
✓ Fast 500 Error Tracker
✓ WordPress Tools (links to existing menu)

Performance Analysis (5 options):
✓ MySQL Query Analyzer
✓ Network & Bandwidth
✓ Hardware Health Check
✓ PHP Configuration Optimizer
✓ Loadwatch Health Analyzer (with time ranges)

Backup & Recovery (3 options):
✓ Acronis Management (9 sub-options)
✓ MySQL File Restore
✓ Cleanup Toolkit Data

Removed (90+ phantom menu items):
✗ All placeholder security analysis functions
✗ All placeholder security action functions
✗ All placeholder monitoring functions
✗ All placeholder reporting functions
✗ All placeholder backup functions (except Acronis & MySQL restore)
✗ All placeholder WordPress management (except cron menu)
✗ Configuration editor (unused)
✗ "Erase traces" function

Benefits:
- Reduced from 1576 lines to 574 lines (64% reduction)
- Every menu item points to a real, working script
- Clear, focused organization
- No more "module not found" errors
- Much faster to navigate
- Easier to maintain

Backup:
- Old launcher saved as launcher-old.sh
- Can be restored if needed
2025-12-11 16:07:45 -05:00
cschantz b95e2b0753 Database convert script 2025-12-10 18:37:57 -05:00
cschantz 86ed92e9e2 Fix critical bugs found by QA tool: grep -F, integer comparisons, function exports
CRITICAL FIXES (8 → 0):
- Fix all 8 grep -F with regex anchors bugs
  - lib/reference-db.sh:420
  - lib/user-manager.sh:195, 254, 258, 317, 583, 590
  - modules/website/500-error-tracker.sh:313
  - Changed grep -F to grep for proper regex support

HIGH PRIORITY FIXES:
- Add 36 function exports for subshell availability
  - lib/system-detect.sh: 10 functions
  - lib/common-functions.sh: 26 functions

- Fix 27 integer comparisons with ${var:-0} validation
  - lib/common-functions.sh: 7 fixes
  - lib/ip-reputation.sh: 3 fixes
  - lib/user-manager.sh: 4 fixes
  - launcher.sh: 7 fixes
  - modules/website/500-error-tracker.sh: 1 fix
  - modules/performance/hardware-health-check.sh: 2 fixes
  - modules/performance/mysql-query-analyzer.sh: 1 fix
  - modules/security/bot-analyzer.sh: 11 fixes

- Change exit to return in library file
  - lib/common-functions.sh:246 (require_root function)

DOCUMENTATION:
- Add [DEVELOPMENT_WORKFLOW] section to REFDB_FORMAT.txt
  - Document QA script as "third option" for validation
  - Add recommended workflow for using QA tool
  - Document all 16 checks (11 bug + 5 performance)

IMPACT:
- Before: 41 issues (8 CRITICAL + 13 HIGH + 9 MEDIUM + 11 LOW)
- After: 30 issues (0 CRITICAL + 10 HIGH + 9 MEDIUM + 11 LOW)
- 27% reduction, all CRITICAL bugs eliminated

QA Tool: bash /tmp/toolkit-qa-check.sh /root/server-toolkit
2025-12-03 19:41:59 -05:00
cschantz efcefc67b9 Integrate PHP Configuration Optimizer into main menu
INTEGRATION:
- Added PHP optimizer to Performance & Diagnostics menu (option 9)
- Placed under "Web Server & PHP" section
- Positioned after PHP-FPM Monitor for logical grouping
- Updated handler to call php-optimizer.sh module

MENU STRUCTURE:
Main Menu → Performance & Diagnostics (4) → PHP Configuration Optimizer (9)

Path: modules/performance/php-optimizer.sh

FEATURES NOW ACCESSIBLE VIA MENU:
✓ Analyze All Domains
✓ Analyze Single Domain
✓ Show OPcache Statistics
✓ Optimize Domain (with apply workflow)
✓ View PHP Error Logs
✓ PHP Version Summary
✓ Find Configuration Files
✓ Backup Configurations
✓ Restore from Backup

WORKFLOW (Option 4 - Optimize Domain):
1. Select domain
2. Review recommendations
3. Confirm apply (y/n)
4. Auto-backup created
5. Changes applied
6. Confirm restart (y/n)
7. PHP-FPM gracefully reloaded
8. Verification & rollback info
2025-12-03 00:40:31 -05:00
cschantz 4bfade1bf3 Add Loadwatch Health Analyzer for system monitoring analysis
NEW FEATURE: Loadwatch Health Analyzer
- Comprehensive system health analysis from loadwatch monitoring logs
- Time-range analysis: 1h, 6h, 24h, 7d, 30d options
- Intelligent problem detection and trending

CAPABILITIES:
- Memory pressure detection (low available memory, high swap usage)
- CPU saturation analysis (idle %, iowait, steal time)
- Load average trending and threshold detection
- Process issue detection (zombie processes, high CPU/MEM consumers)
- MySQL performance monitoring (slow queries, thread counts)
- Network connection analysis
- Historical trending across snapshots (3-minute intervals)

IMPLEMENTATION:
- modules/diagnostics/loadwatch-analyzer.sh - Main analyzer script
- Handles symlinked loadwatch directories
- Parses 7 log sections: alerts, summary, memory, CPU, tasks, MySQL, network
- Generates detailed reports with actionable recommendations
- Saves reports to tmp/ directory for review

INTEGRATION:
- Added to Performance & Diagnostics menu (option 10)
- Time range selection submenu for user-friendly access
- Updated README.md with feature documentation and usage examples

ANALYSIS FEATURES:
- Swap threshold alerts (>= 50% usage)
- CPU saturation detection (< 10% idle)
- High I/O wait warnings (> 20%)
- Zombie process tracking
- Memory availability trending (avg/min/max)
- Top CPU consumers aggregated across period

Perfect for:
- Post-incident investigation
- Capacity planning
- Performance trending
- System health monitoring
- Identifying resource bottlenecks

Works with servers that have loadwatch monitoring enabled
(logs in /root/loadwatch or /var/log/loadwatch)
2025-11-20 20:35:16 -05:00
cschantz c4840e425b Clarify Live Monitoring menu - unified monitor vs simple log tailers
PROBLEM: Menu was confusing - showed 5 separate monitors when option 1
now includes everything

BEFORE:
1) Live Attack Monitor - Real-time threat feed (all sources)
2) SSH Attack Monitor - Live SSH brute force attempts
3) Web Traffic Monitor - Live HTTP/HTTPS requests
4) Firewall Activity Monitor - Live CSF/iptables events
5) cPHulk Live Monitor - Real-time brute force blocks
...
10) Multi-Source Dashboard - Combined view

AFTER:
🛡️  Intelligent Monitoring:
1) Live Attack Monitor - Unified threat intelligence
   ├─ Monitors: Web, SSH, Firewall, cPHulk, Network (SYN floods)
   ├─ Features: Threat scoring, bot detection, attack classification
   └─ Quick Actions: IP blocking, ban management

📋 Simple Log Viewers (No Intelligence):
2) SSH Log Tail - Raw SSH auth attempts
3) Web Traffic Tail - Raw Apache access logs
4) Firewall Log Tail - Raw firewall events

Log Tailing:
5) Tail Apache Access Log
6) Tail Apache Error Log
7) Tail Mail Log
8) Tail Security Log

Advanced:
9) Custom Log Monitor

CHANGES:
- Option 1 clearly shows it monitors ALL sources
- Options 2-4 clarified as "simple log tailers" without intelligence
- Removed redundant option 5 (cPHulk - now built into option 1)
- Removed redundant option 10 (Multi-Source - that's what option 1 is)
- Renumbered options 6-11 → 5-9

USER BENEFIT:
- Clear distinction: Smart monitoring vs raw logs
- No confusion about what option 1 actually does
- Menu accurately reflects new multi-source capability
2025-11-14 15:19:52 -05:00
cschantz 323272b6af Move Malware Scanner to top-level security analysis menu
Malware scanning is now more prominent:
- Moved from Web Application Analysis submenu to main Security Analysis menu
- Now option 1 (🦠 Malware Scanner) in Analysis & Troubleshooting
- Direct path: Security → Analysis → Malware Scanner (2→1→1)
- Removed from Web Application submenu to avoid duplication
- Renumbered all security analysis options accordingly

Much easier to find and access the malware scanner now.
2025-11-11 18:47:16 -05:00
cschantz fae334384e Add wrapper script for automatic cleanup with zero manual steps
New workflow:
1. User runs: source run.sh (instead of bash launcher.sh)
2. Launcher runs normally
3. On exit with cleanup=yes, launcher sets flag file
4. Wrapper detects flag and does ALL cleanup automatically:
   - Cleans ~/.bash_history file
   - Clears current shell's in-memory history
   - Removes toolkit directory
   - No manual commands needed

The key: wrapper is SOURCED so it runs in parent shell and can modify history.

User experience: answer "yes" and cleanup happens instantly, automatically.
2025-11-11 18:22:10 -05:00
cschantz 8d98e7f79e Exit menu now does cleanup automatically with verification
Changes:
- Cleans ~/.bash_history file immediately when user selects yes
- Verifies curl command is gone from file before continuing
- Removes logs, temp files, toolkit directory automatically
- Shows verification: "✓ Verified: No curl download commands in history file"
- User just needs to run: history -c, unset HISTFILE, exit

No more asking user to source scripts. Just do the cleanup and verify.
2025-11-11 18:20:28 -05:00
cschantz cfd70486b2 Simplify exit cleanup to source single trace eraser script
Exit menu now tells user to SOURCE the trace eraser instead of running it as subprocess:
- Single command: TRACE_ERASER_AUTO=yes source tools/erase-toolkit-traces.sh
- Sourcing runs it in current shell, allowing it to modify that shell's history
- No more separate helper scripts or multiple steps
- Single source of truth for all cleanup logic

This fixes the parent shell history issue - by sourcing instead of running as subprocess, the trace eraser can actually modify the shell's history where the curl command was executed.
2025-11-11 18:14:01 -05:00
cschantz 5bae0c8e98 Consolidate cleanup to use single trace eraser script
Exit menu now:
- Calls trace eraser in TRACE_ERASER_AUTO=yes mode (no prompts, removes everything)
- Creates minimal helper script only for parent shell history cleanup
- Single source of truth: tools/erase-toolkit-traces.sh

Removed duplicate cleanup logic from launcher exit handler.
2025-11-11 18:01:03 -05:00
cschantz b305834c6e Fix history cleaning to work from parent shell
The fundamental issue: launcher.sh runs in a subprocess, so it cannot modify the parent shell's history where the curl command was executed.

Solution: Create a temporary cleanup script that the parent shell must source after launcher exits. This allows the history cleaning to run in the correct shell context.

User workflow:
1. Run launcher.sh and select exit with cleanup
2. Source the generated /tmp/.cleanup_history_$$.sh script
3. History is cleaned in the parent shell
4. Exit and restart shell to verify

The cleanup script removes toolkit traces from ~/.bash_history and disables history recording for the current session.
2025-11-11 17:56:42 -05:00
cschantz f96deda52c Use same grep logic as trace eraser for history cleaning
Simplified to match the exact logic from erase-toolkit-traces.sh:
- Use grep -Ev with pattern matching
- Clean file, clear history, reload, unset HISTFILE
- Then run trace eraser subprocess for logs/files/directory

The key fix is running this in the current shell instead of subprocess.
2025-11-11 17:53:19 -05:00
cschantz 2e5b214500 Fix history cleaning on exit to work in parent shell
The trace eraser was running as a subprocess, so history cleaning only affected the subprocess. The parent shell would still write its dirty history back to the file on exit.

Now the exit handler cleans history directly in the current shell before calling trace eraser:
- Cleans ~/.bash_history file with grep -Ev
- Runs history -c to clear in-memory history
- Reloads cleaned history with history -r
- Unsets HISTFILE to prevent re-writing on exit
- Then runs trace eraser subprocess for logs/files/directory cleanup

This ensures curl commands and all toolkit traces are actually removed from bash history.
2025-11-11 17:52:23 -05:00
cschantz 5cfcff0598 Make auto cleanup fast and clean
Changes:
- Suppress trace eraser output in auto mode (only show ✓)
- Clear screen after cleanup
- Leave user in /root directory
- Single success message

Result:
- Question -> yes -> quick cleanup -> ✓ All traces removed -> /root
- Fast, minimal output, clean exit
2025-11-11 17:47:48 -05:00
cschantz d9121768ef Simplify exit cleanup - one question, full cleanup
Changes:
- Single question on exit: 'Clean history and remove traces?'
- If yes: runs full trace eraser automatically
- Auto mode skips all prompts, removes everything
- TRACE_ERASER_AUTO=yes flag for non-interactive mode

User experience:
- Exit (0)
- One question
- If yes: everything cleaned and removed automatically
- No multiple prompts
2025-11-11 17:46:52 -05:00
cschantz db352cc7a2 Add history cleaning prompt on exit
Changes:
- Prompt user to clean history when selecting Exit (0)
- Runs trace eraser if user answers 'yes'
- Shows clear message about what will be cleaned

User experience:
- Exit from main menu
- Asked: 'Clean history? (yes/no)'
- If yes: runs full trace eraser
- Then exits normally
2025-11-11 17:44:42 -05:00
cschantz 4e169f2c4d Reorganize website management menu with WordPress subdirectory
Changes:
- Created modules/website/wordpress/ subdirectory for CMS-specific tools
- Moved wordpress-cron-manager.sh to new subdirectory
- Created wordpress-menu.sh submenu for WordPress tools
- Updated launcher.sh Website Management menu:
  - Simplified to show general tools and CMS submenu options
  - WordPress Management is now a submenu (option 3)
  - Prepared structure for Joomla/Drupal/other CMS support
- Fixed script paths in wordpress-cron-manager.sh for new location
- Tested complete navigation: Main → Website → WordPress → Cron Manager

Menu Structure Now:
  Website Management
  ├── Website Error Analyzer
  ├── 500 Error Tracker
  └── WordPress Management (submenu)
      └── WordPress Cron Manager
          └── (All cron management options working)

https://claude.com/claude-code
2025-11-07 17:37:51 -05:00
cschantz b03179cc95 Add comprehensive Acronis backup management interface
Implemented complete backup management section with acrocmd integration:

New Features:
- Backup Manager: Centralized interface with organized sections
  • Agent Management (status, logs)
  • Backup Operations (list, trigger, status)
  • Plan Management (view, manage protection plans)
  • Restore Operations (placeholder for future)

Scripts Created:
- acronis-backup-manager.sh: Main backup management menu
- acronis-list-backups.sh: Lists archives and backup details
- acronis-trigger-backup.sh: Triggers manual backups with plan selection
- acronis-backup-status.sh: Shows active tasks and recent activities
- acronis-schedule-viewer.sh: Displays protection plans and schedules
- acronis-plan-manager.sh: Manages protection plans (view/enable/disable/delete)

Integration:
- All scripts use acrocmd CLI for programmatic backup operations
- Updated Acronis menu with streamlined "Manage Backups" option
- Reorganized menu structure for better usability
- Added proper error handling and status checks
2025-11-06 16:25:10 -05:00
cschantz f18e92a48d Add comprehensive Acronis backup troubleshooting tool
Created acronis-troubleshoot.sh with intelligent diagnostic capabilities:

7-Point Diagnostic System:
1. Service Health Check
   - Verifies all 4 Acronis services (aakore, mms, schedule, active-protection)
   - Detects stopped/failed services
   - Auto-generates restart recommendations

2. Disk Space Analysis
   - Checks /var/lib/Acronis and root filesystem
   - Warns at 90%, critical at 95% usage
   - Identifies insufficient space for backups

3. Memory Monitoring
   - Tracks system memory usage
   - Warns at high memory conditions (>90%)
   - Detects potential memory leaks

4. Network Connectivity Testing
   - Tests connection to Acronis Cloud URL
   - DNS resolution verification
   - Identifies firewall/network issues

5. Multi-Location Log Scanning
   - Scans multiple log locations:
     * /var/lib/Acronis/BackupAndRecovery/MMS/mms.*.log
     * /var/log/acronis/agent/*.log
     * System logs (/var/log/messages, /var/log/syslog)
   - Pattern detection for 8 common failure types:
     * Insufficient space errors
     * Permission denied
     * Connection failures
     * Authentication failures
     * Backup task failures
     * VSS/snapshot errors
     * Database errors
     * File locking issues

6. Stuck Process Detection
   - Identifies long-running Acronis processes
   - Detects hung backup jobs
   - Recommends service restarts when needed

7. Configuration Verification
   - Checks backup plan configuration
   - Verifies agent version
   - Registration status validation

Intelligent Recommendations:
- Context-aware fix suggestions based on detected issues
- Prioritized action items (critical vs warnings)
- Specific commands to resolve each issue type

Quick Actions Menu:
1. View all errors from logs
2. Restart all services
3. Generate detailed diagnostic report for support
4. Export logs as tar.gz archive

Issue Tracking:
- Categorizes findings as CRITICAL or WARNINGS
- Provides comprehensive summary with counts
- Color-coded output (red=critical, yellow=warning, green=ok)

Added to Acronis menu as option 12 (Troubleshooting section)

This tool enables rapid diagnosis of backup failures without needing
to manually dig through logs or check multiple system components.
2025-11-05 21:36:13 -05:00
cschantz 1f21a596b5 Add Acronis Cyber Protect submenu to Backup & Recovery
Reorganized Backup & Recovery menu to include dedicated Acronis submenu:
- Added Acronis Management submenu (option 9) with 11 operations:
  * Installation & Setup: Install, register, configure
  * Backup Operations: Manual backup, status, list, restore
  * Management: Agent status, update, logs, uninstall
- Moved cleanup-toolkit-data.sh from option 9 to option 10
- Created handle_acronis_menu() function to route to Acronis scripts
- All Acronis operations grouped under backup/acronis-*.sh modules
2025-11-05 21:14:11 -05:00
cschantz 30026e26a7 Add cleanup script for IP reputation and toolkit data
Created comprehensive cleanup tool to remove all server-specific data
before transferring toolkit to another server.

NEW FILE:
- modules/maintenance/cleanup-toolkit-data.sh
  * Removes IP reputation database (/var/lib/server-toolkit/)
  * Cleans all temporary analysis files (/tmp/*bot*, *500-tracker*, etc.)
  * Removes generated reports
  * Clears cache and session data
  * Optional log file removal
  * Shows summary of items removed and space freed
  * Safety confirmation required before cleanup

UPDATED:
- launcher.sh
  * Added cleanup script to Backup & Recovery menu (option 9)
  * Placed in "Data Management" section
  * Clearly marked with trash icon to indicate destructive operation

PURPOSE:
This ensures the IP reputation database and other server-specific data
are not transferred when moving the toolkit between servers. Each server
should build its own IP reputation database based on its own traffic and
attack patterns.

USE CASES:
✓ Moving toolkit to different server
✓ Starting fresh analysis
✓ Removing server-specific data before sharing toolkit
✓ Regular maintenance/cleanup

WHAT GETS CLEANED:
- /var/lib/server-toolkit/ip-reputation/ (IP reputation database)
- /tmp/bot_analysis_* (bot analyzer temp files)
- /tmp/500-tracker-* (error tracker temp files)
- /tmp/live-monitor-* (live monitoring temp files)
- /tmp/*_report_*.txt (generated reports)
- /var/cache/server-toolkit/ (cached data)
- Session/lock files
- Optional: execution logs
2025-11-05 18:48:23 -05:00
cschantz 526fb23ad0 Add centralized IP reputation tracking system
Created a comprehensive IP reputation system that tracks IPs across all
toolkit scripts with tags/attack types, scores, and detailed analytics.

NEW FILES:
- lib/ip-reputation.sh: Core reputation library with optimized database
  * Fast lookup using pipe-delimited file format
  * Attack type tagging system (bitmask: SQL, XSS, RCE, Bot, Scanner, etc.)
  * Reputation scoring (0-100) based on hits and attack severity
  * GeoIP country lookup integration
  * Automatic cleanup of old entries
  * Thread-safe with file locking

- modules/security/ip-reputation-manager.sh: Interactive management tool
  * Query individual IPs with full details
  * View top malicious/active IPs
  * Database statistics and analytics
  * Manual IP flagging/whitelisting
  * Import IPs from logs
  * Export to readable reports
  * Live monitoring mode

INTEGRATION:
All security and analysis scripts now use the centralized reputation system:

- modules/website/500-error-tracker.sh:
  * Tracks IPs generating 500 errors
  * Tags bots/scanners with BOT/SCANNER flags
  * Background processing for performance

- modules/security/live-attack-monitor.sh:
  * Maps attack types to reputation flags
  * Tracks SSH bruteforce, SQL injection, XSS, DDoS, etc.
  * Real-time reputation updates

- modules/website/website-error-analyzer.sh:
  * Tags filtered bots in error analysis
  * Builds IP reputation from website errors

- launcher.sh:
  * Added IP Reputation Manager to Bot & Traffic Analysis menu
  * Menu option 4 in Security > Analysis > Bot & Traffic Analysis

KEY FEATURES:
✓ Centralized IP tracking across ALL scripts
✓ Multi-tag system (IP can have multiple attack types)
✓ Reputation scores increase with more tags/attacks
✓ Country tracking via GeoIP
✓ Optimized for high-volume traffic (attacks with 1000s of IPs)
✓ Fast lookups even during DDoS
✓ Background processing doesn't slow down analysis
✓ Database cleanup/maintenance tools
✓ Export for reports and sharing

BENEFITS:
- Single source of truth for IP reputation
- Scripts share intelligence (bot detected in one script = flagged for all)
- Track IPs across time and multiple attack vectors
- Identify repeat offenders with multiple attack types
- Make blocking decisions based on comprehensive data
- Performance optimized with file locking and background updates
2025-11-05 18:45:55 -05:00
cschantz b6af641b3c Add IP filtering and reorganize Website Management menu
IP Filtering enhancements to 500 error tracker:
- Filter localhost/internal IPs (127.x, 10.x, 172.16-31.x, 192.168.x)
- Detect cloud scanner IPs from AWS, GCP, Azure with user agent validation
- Skip known bot network IP ranges to reduce noise
- More aggressive filtering of non-relevant traffic

Website Management menu reorganization:
Reduced from 16 options to 7 logical categories:

Main menu now has:
1. Website Error Analyzer
2. Fast 500 Error Tracker
3. Debug Log Analyzer
4. Health & Maintenance → (5 tools: health check, DB optimizer, cache, plugin/theme audit)
5. WP-Cron Management → (3 tools: status, mass fix, system cron setup)
6. Mass Updates → (3 tools: core, plugins, themes updates)
7. Security & Compliance → (3 tools: malware scanner, permissions, login audit)

Benefits:
- Cleaner, more organized menu structure
- Related tools grouped together
- Easier navigation with logical subcategories
- Reduced cognitive load (7 vs 16 options)
2025-11-03 21:21:44 -05:00
cschantz d7febf68d3 Add Fast 500 Error Tracker + Fix awk error in analyzer
NEW SCRIPT: modules/website/500-error-tracker.sh
- FAST-ONLY 500 error detection (no menus, no options)
- Scans access logs for 500 errors
- Maps domains to cPanel usernames
- Automatically diagnoses root causes by checking error_log files
- Shows actual PHP errors causing the 500s

ROOT CAUSE DETECTION:
- PHP Memory Exhausted (shows current limit)
- PHP Fatal Errors
- PHP Syntax Errors
- Missing PHP Functions/Extensions
- Database Connection Failures
- .htaccess Issues
- Shows ACTUAL error examples, not just suggestions

FIXES:
- Fixed awk error in website-error-analyzer.sh:
  • Changed "next" in END block to "if (length > 0)"
  • "next" cannot be used in END block in awk

- Added option 2 in Website Management menu
- Renumbered all WordPress tools (3-16)

DIFFERENCE FROM FULL ANALYZER:
Full Analyzer: All errors, filters, time ranges, user choices
Fast Tracker: ONLY 500s, auto-diagnosis, shows WHY not suggestions

Use Fast Tracker when you need to quickly find which domains
are getting 500 errors and the exact PHP errors causing them.
2025-11-03 20:32:19 -05:00
cschantz e3525a3a96 Add intelligent website error analyzer
- Filters out bots, plugin warnings, deprecation notices
- Focuses on real user-facing issues (500s, fatal errors, database failures)
- Discovers ALL log locations (Apache, PHP error_log per domain)
- Analyzes both Apache error logs and per-domain PHP logs
- Added 30-day analysis option
- Intelligent noise filtering and critical error detection
- Provides specific actionable recommendations
- Added to Website Management menu as option 1
2025-11-03 19:02:41 -05:00
cschantz 2ee6d7d698 Add trace eraser tool for privacy
- New tool: erase-toolkit-traces.sh removes all toolkit traces
- Cleans bash history for all users
- Removes toolkit mentions from system logs
- Deletes download artifacts and temp files
- Optional: complete toolkit directory removal
- Added to main menu as option 10
2025-11-03 18:41:30 -05:00
cschantz a51d968185 Initial commit: Server Management Toolkit v2.0
- Complete security menu restructure (3-mode: Analysis/Actions/Live)
- Intelligent cPHulk enablement with CSF whitelist import
- Live network security monitoring dashboard
- Multi-source threat detection and classification
- 50+ organized security tools across 4-level menu hierarchy
- System health diagnostics with cPanel/WHM integration
- Reference database for cross-module intelligence sharing
2025-11-03 18:21:40 -05:00