8af406382d9c2e19e090d19641278e39074b330b
ISSUE #5 FIX: Use grep -F for literal matching (Line 746-747)
- Problem: Domains with regex special chars (.^$*+?[]{}\|) caused incorrect grep counts
- Example: Domain "example.com" would match "exampleXcom" due to unescaped dot
- Impact: Domain success rates calculated with wrong counts
- Solution: Changed grep -c "^$domain$" to grep -cF "$domain" for literal matching
- Benefit: Prevents regex injection, ensures accurate domain counting
ISSUE #14 FIX: Improve email regex pattern (Line 160)
- Problem: Word boundaries \< \> don't work in all grep modes
- Previous: grep -oE '\<[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\>'
- Solution: Removed word boundaries, pattern still accurate
- New: grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'
- Benefit: Consistent matching across all grep implementations
RESULTS:
- 2 HIGH priority grep matching issues resolved
- Domain success rate calculations now accurate
- Email pattern matching more reliable
- Script remains production-ready
- All 6 issues fixed so far (commit f931219 + this commit)
Syntax validation: PASS
🧪 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%