cschantz
c983c087f9
Implement InterWorx support: user/domain/database management
...
PHASE 1: Critical Bug Fixes
1. Fix list_interworx_users() fallback
- Old: Broken find for *.conf directories
- New: Parse vhost configs for SuexecUserGroup directives
- Fallback: List /home directories
2. Enhance get_interworx_user_info()
- Now returns: PRIMARY_DOMAIN, ALL_DOMAINS, EMAIL
- Uses listaccounts.pex + vhost config parsing
- Optional NodeWorx API for email
3. Enhance get_interworx_user_domains()
- Returns primary domain from listaccounts.pex
- Parses ALL vhost configs for secondary/addon domains
- Filters out subdomains
4. Implement get_interworx_user_databases()
- CRITICAL: Uses first 8 chars of PRIMARY DOMAIN as prefix
- NOT username-based like cPanel!
- Example: example.com → prefix examplec_
TESTING:
- All functions syntax validated with bash -n
- Ready for testing on actual InterWorx server
RESEARCH:
- Created /root/INTERWORX_RESEARCH.md (500+ line guide)
- Documents all InterWorx vs cPanel differences
- Includes implementation roadmap (Phases 1-5)
2025-11-19 18:12:20 -05:00
cschantz
169215c687
Fix live-attack-monitor, bot-analyzer compression, and user-manager temp dir
...
- live-attack-monitor.sh: Remove snapshot loading, fix Apache log monitoring, add IP file sync
- bot-analyzer.sh: Implement gzip compression for large temp files (10-20x space savings)
- run.sh: Add HISTFILE fallback to prevent crashes when sourced
- user-manager.sh: Initialize TEMP_SESSION_DIR to fix user indexing errors
2025-11-17 23:06:29 -05:00
cschantz
8d28ee0b1a
Fix live-attack-monitor, bot-analyzer compression, and user-manager temp dir
...
- live-attack-monitor.sh: Remove snapshot loading, fix Apache log monitoring, add IP file sync
- bot-analyzer.sh: Implement gzip compression for large temp files (10-20x space savings)
- run.sh: Add HISTFILE fallback to prevent crashes when sourced
- user-manager.sh: Initialize TEMP_SESSION_DIR to fix user indexing errors
2025-11-17 23:03:50 -05:00
cschantz
a51d968185
Initial commit: Server Management Toolkit v2.0
...
- Complete security menu restructure (3-mode: Analysis/Actions/Live)
- Intelligent cPHulk enablement with CSF whitelist import
- Live network security monitoring dashboard
- Multi-source threat detection and classification
- 50+ organized security tools across 4-level menu hierarchy
- System health diagnostics with cPanel/WHM integration
- Reference database for cross-module intelligence sharing
2025-11-03 18:21:40 -05:00