849ba34f6025236b9a876d9c29e77588b8b56595
CRITICAL BUG: The Maldet menu was setting MALDET_ONLY=1 in the parent shell, but the generated standalone script was launched in a child process that didn't inherit this environment variable. This caused the Maldet-only filter to never activate, allowing all scanners to run instead of just Maldet. FIX: 1. Added MALDET_ONLY placeholder in the generated script (line 1235) 2. Use sed to replace placeholder with actual value from parent shell (lines 2335-2340) 3. The value is now hardcoded into the generated script, ensuring filter works BEHAVIOR: - Maldet menu (option 1): MALDET_ONLY=1 injected → filter activates → runs Maldet only - All-scanners menu (options 2-6): MALDET_ONLY=0 injected → filter skipped → runs all scanners VERIFICATION: - Both code paths tested and confirmed working - Syntax check: passed - Environment variable injection: working correctly
🧪 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%