076be62f994e4131b727dbbde04fd320bcda42ee
CRITICAL FIXES: - Plesk command timeout: Added 5-10s timeouts to prevent indefinite hangs - FRESHCLAM timeout: Added 120s timeout in standalone scanner ClamAV scan - Hardcoded /opt path: Replaced with fallback system (/opt → /var/tmp → /tmp → home) - Session directory discovery: New find_all_session_dirs() function for robustness HIGH PRIORITY FIXES: - CLAMAV detection: Enhanced to verify functionality, not just binary existence - IMUNIFY detection: Improved with version check and execution verification - Control panel detection: Now verifies Plesk/InterWorx actually work, not just files exist - Domain case sensitivity: All domain comparisons now case-insensitive - Domain/docroot matching: Added symlink resolution and better edge case handling MEDIUM PRIORITY FIXES: - Memory checking: Added periodic memory monitoring during scans - Cleanup handlers: Comprehensive trap for EXIT/INT/TERM to kill background processes - Menu input validation: Added 10-retry limit and 10s read timeout per input - IDN support: Internationalized domain name conversion to punycode - Session directory references: Updated all references to use new fallback system BENEFITS: - Prevents script hangs on slow Plesk systems - Handles systems without writable /opt directory - Better detection of broken scanner installations - Safer domain matching prevents false positives - Improved resource management during long scans - More robust cleanup on interrupts - Support for non-ASCII domain names Fixes 14 of 16 architectural issues identified. Remaining 2 (standalone heredoc complexity, RKHUNTER edge cases) are lower priority and don't affect core functionality.
🧪 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%