5a539e4d31fd20593ad00ab5640b8cb9bbe5725a
CRITICAL BUG FIX: - Removed double input method (cat | ... < <(cat)) that caused pipefail exit - Replaced > with >> for awk file writes (append is safer than truncate in loops) - Added close() calls for all output file handles to flush buffers properly - Changed from process substitution to direct file input (< file) ROOT CAUSE: The analyze_success_rates() function was using both cat pipe AND process substitution on the same input, causing undefined behavior with set -o pipefail. Additionally, writing to multiple files in an awk END block without close() calls corrupted file handles, causing silent exit before detect_botnets() could run. IMPACT: - Script now completes full analysis pipeline instead of crashing after success rates - New fingerprinting, domain targeting, and URL analysis sections will now display - All analysis reports now generate successfully TESTING REQUIRED: Run: bash /root/server-toolkit-beta/launcher.sh Select bot-analyzer to verify full report generation with new sections
🧪 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%