Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch fix addons/maldet.sh for EL8 & EL9 OSes in 140.00beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    55,381
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    12:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fix addons/maldet.sh for EL8 & EL9 OSes in 140.00beta01

    - 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...

    140.00beta01 branch