Learn about Centmin Mod LEMP Stack today
Register Now

Stable Branch fix addons/maldet.sh for EL8 & EL9 OSes in 132.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 1, 2025.

  1. eva2000

    eva2000 Administrator Staff Member

    58,912
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    3:01 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix addons/maldet.sh for EL8 & EL9 OSes in 132.00stable

    - fix addons/maldet.sh for EL8 and EL9 OS compatibility to work as outlined at https://community.centminmod.com/threads/maldet-linux-malware-detect-addon-discussion.846/#post-3863

    examples

    /usr/local/maldetect/maldet -a /home/nginx/domains/?/public
    Linux Malware Detect v1.6.6
    (C) 2002-2023, R-fx Networks <proj@rfxn.com>
    (C) 2023, Ryan MacDonald <ryan@rfxn.com>
    This program may be freely redistributed under the terms of the GNU GPL v2

    maldet(412501): {scan} signatures loaded: 17638 (14801 MD5 | 2054 HEX | 783 YARA | 0 USER)
    maldet(412501): {scan} building file list for /home/nginx/domains/?/public, this might take awhile...
    maldet(412501): {scan} setting nice scheduler priorities for all operations: cpunice 19 , ionice 6
    maldet(412501): {scan} file list completed in 0s, found 22 files...
    maldet(412501): {scan} found clamav binary at /usr/bin/clamscan, using clamav scanner engine...
    maldet(412501): {scan} scan of /home/nginx/domains/?/public (22 files) in progress...

    maldet(412501): {scan} scan completed on /home/nginx/domains/?/public: files 22, malware hits 0, cleaned hits 0, time 9s
    maldet(412501): {scan} scan report saved, to view run: maldet --report 250301-0020.412501

    and


    clamscan -i -r /home/nginx/domains/?/public

    ----------- SCAN SUMMARY -----------
    Known viruses: 8720734
    Engine version: 1.0.8
    Scanned directories: 5
    Scanned files: 11
    Infected files: 0
    Data scanned: 0.00 MB
    Data read: 0.00 MB (ratio 1.00:1)
    Time: 9.105 sec (0 m 9 s)
    Start Date: 2025:03:01 00:17:27
    End Date: 2025:03:01 00:17:36

    Continue reading...

    132.00stable branch