e4bb749dddee5b7ca58302e47a3d22c7a7c1ebc2
CRITICAL FIXES RE-APPLIED: 1. Safe read statements with /dev/tty redirection - Prevents hangs when stdin is piped or unavailable - Prevents SSH session termination on menu prompts - Gracefully returns instead of crashing 2. Error handling on all read statements - Read failures now return instead of exiting unexpectedly - Fixes crash when stdin is closed 3. SQL injection prevention in reference-db.sh - Database names now escaped with backticks - Prevents malicious DB names from breaking queries 4. Password exposure fix in reference-db.sh - Use MYSQL_PWD environment variable - Credentials no longer visible in 'ps aux' output 5. Race condition fix in temp directory creation - Use mktemp -d instead of mkdir -p - Secure permissions (0700) and unpredictable naming - Prevents TOCTOU attacks TESTING RESULTS: ✓ QA script passed ✓ Multi-scanner detection verified (4 scanners) ✓ Syntax validation passed ✓ Safe input handling verified ✓ All critical functions available Status: Ready for testing in dev branch
🧪 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%