6261fabf7a0705b1e55b845b38c02c70b0a5f742
ISSUE: Maldet menu was running all scanners (ImunifyAV, ClamAV, RKHunter) instead of only Maldet due to architectural flaw in scanner detection. ROOT CAUSE: Two separate scanner detection systems populated different arrays: - detect_scanners() function: populated lowercase available_scanners[] - main scanning logic: populated uppercase AVAILABLE_SCANNERS[] These arrays never communicated, causing MALDET_ONLY filter to fail. FIX: Consolidated all scanner detection to use single lowercase available_scanners[] - Line 1395: Changed initial array declaration - Lines 1397-1416: Fixed scanner detection assignments - Lines 1445, 1468: Fixed rkhunter temp install assignments - Line 1498: Fixed empty array check - Line 1544: Fixed scanner count logging - Line 1606: Fixed summary report scanner list - Lines 1617, 1620: Fixed completion tracking loops - Lines 2075, 2081, 2087, 2092: Fixed scanner-specific result reporting - Line 2135: Fixed validation loop RESULT: - Maldet menu now correctly runs ONLY Maldet scans - Multi-scanner orchestration still works correctly - Single consistent data structure throughout execution - MALDET_ONLY filter now works as intended VERIFIED: bash -n syntax check passes
🧪 Linux Server Toolkit - DEV Branch
STATUS: 🚀 Development & Testing Branch (Separate from Production)
This is the
devbranch for testing, development, and experimentation. Changes here are isolated from production and can be safely tested before merging to main.
🚀 Quick Start
One command - pulls dev branch with YELLOW ⚠️ BETA banner:
curl -sL https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit/archive/dev.tar.gz | tar xz && source linux-server-management-toolkit/run.sh
When exiting (option 0), answer "yes" and cleanup happens automatically - no extra steps.
📍 Key Differences (Dev vs Production)
| Feature | Dev Branch | Production |
|---|---|---|
| Cache | .sysref.beta |
.sysref |
| Version | 2.1.0-BETA |
2.1.0 |
| Banner | 🟨 Yellow (⚠️) | 🔵 Cyan |
| Git Branch | dev |
main |
| Purpose | Testing & Development | Stable/Production |
📦 Features
Comprehensive multi-panel server management suite supporting cPanel, InterWorx, Plesk, and standalone Apache with:
- 🛡️ Security & Monitoring: Live attack monitor, bot blocker, malware scanner, IP reputation
- 💾 Backup & Recovery: Acronis management, MySQL database restore
- 🌐 Website Diagnostics: Error analysis, WordPress tools, Cloudflare detection
- 📧 Email Diagnostics: Mail queue, blacklist checker, SPF/DKIM/DMARC validation
- 📊 Performance Analysis: MySQL optimization, PHP tuning, hardware health, Varnish cache
- 🔍 System Diagnostics: Health checks, loadwatch analysis, bandwidth monitoring
📖 Documentation
For detailed documentation, see the main repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit
Version: 2.1.0-BETA Repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit Branch: dev
Languages
Shell
100%