9290c5c4f0
Scanner Detection Improvements: - Created dedicated detection functions for each scanner - is_imunify_installed(): Checks command and /usr/bin location - is_clamav_installed(): Checks command, cPanel path, and RPM - is_maldet_installed(): Checks command and /usr/local/sbin ClamAV Fixes: - Now detects cPanel-installed ClamAV correctly - Checks for cpanel-clamav RPM package - Finds clamscan in /usr/local/cpanel/3rdparty/bin/ - Handles already-installed cPanel ClamAV gracefully - Dynamically finds freshclam binary for updates ImunifyAV Improvements: - Better installation detection - Finds binary dynamically for updates - Handles various installation paths Benefits: - Scanners installed via cPanel are now detected - No false "not installed" errors - Better handling of non-standard install paths - More robust binary finding for updates User feedback addressed: Detection was failing for cPanel-installed scanners that weren't in standard PATH locations.