Fix: Correct Maldet repository URL - was using wrong repo name
Issue: All downloads failing because repository was 'rfxn/maldet' which doesn't exist on GitHub. The correct repository is 'rfxn/linux-malware-detect'. Testing confirmed: - Original rfxn.com URL: Returns 404 (not found) - Original GitHub paths: Repository doesn't exist - Correct repo: https://github.com/rfxn/linux-malware-detect (EXISTS and works) - Latest release: 1.6.6.1 (verified with API) - Download test: 84K successful tarball Solution: Updated download sources to use correct repository: 1. GitHub API: Direct to release 1.6.6.1 (primary) 2. GitHub main branch: Fallback to development version Removed non-functional rfxn.com URL (404 error).
This commit is contained in:
@@ -287,10 +287,10 @@ install_maldet_only() {
|
||||
|
||||
# Download sources in priority order
|
||||
# Format: "name|url|label" (using | as delimiter to avoid splitting https://)
|
||||
# Note: Repository is rfxn/linux-malware-detect (not maldet)
|
||||
local sources=(
|
||||
"rfxn|https://www.rfxn.com/downloads/maldetect-latest.tar.gz|rfxn.com (official)"
|
||||
"github-api|https://api.github.com/repos/rfxn/maldet/archive/refs/heads/main.tar.gz|GitHub API"
|
||||
"github|https://github.com/rfxn/maldet/archive/refs/heads/main.tar.gz|GitHub direct"
|
||||
"github-api|https://api.github.com/repos/rfxn/linux-malware-detect/tarball/1.6.6.1|GitHub Release 1.6.6.1"
|
||||
"github-main|https://github.com/rfxn/linux-malware-detect/archive/refs/heads/main.tar.gz|GitHub main branch"
|
||||
)
|
||||
|
||||
echo "Attempting to download from sources..."
|
||||
|
||||
Reference in New Issue
Block a user