The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

maldet removing code from site

Discussion in 'Security' started by m.akram, Aug 11, 2014.

  1. m.akram

    m.akram Active Member

    Joined:
    Nov 25, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    one of my site is not working since code is being removed by maldet running on the server. It is happening since line on eris.php is getting a match on a gzbase64.inject.unclassed hit.

    How can i exclude the file path from maldet so that it is not scanned and blocked by maldet on the server.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: maldet issue

    You might find the readme helpful:
    /https://www.rfxn.com/appdocs/README.maldetect

    Search the page for word: exclude
     
  3. m.akram

    m.akram Active Member

    Joined:
    Nov 25, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: maldet issue

    Thank you for your response. I have added path to /usr/local/maldetect/ignore_paths.i,e, i have added /home/user/folder nameto ignore_path. still it is not website is giving same error. Am i doing some thing wrong?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: maldet issue

    No clue, really. I don't use this software, and its not supported by cPanel.

    You might contact them about this and see if they can help. Or, hope someone else here is more helpful than I, there are many. :)

    My apologies for not being able to clearly assist you with this any more than that.
     
  5. m.akram

    m.akram Active Member

    Joined:
    Nov 25, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: maldet issue

    Sir i have resolved the issue. Path was correctly added in malware ignore path file. On through investigation i found that a piece of code was removed from the file eris.php before adding the path in ignore_paths file. On restoring original file sorted out the issue. Thanks for your cooperation.
     
Loading...

Share This Page