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.

Uploaded File scan

Discussion in 'Security' started by keat63, Nov 21, 2014.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Guys.

    When I initially uploaded a ton of files to my test site, I received an email notification warning of potential issues.
    Namely, PHP files with the ability to send email.
    I can't seem to find the email, i must have deleted it.
    Is there a way to re run this file scan ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This option is controlled via:

    "WHM Home » Server Contacts » Contact Manager"

    You can change the priority for "Recently Uploaded Cgi Script Mail" to modify if alerts are sent out, and to which contacts. It will only scan new uploads, not the entire filesystem:

    Code:
    /usr/local/cpanel/bin/scanfornewmail
    Thank you.
     
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I checked these settings and changed the cgi script mail to high.
    I uploaded the same files to a different account, but it didn't notify me yet. ?
     
    #3 keat63, Nov 21, 2014
    Last edited: Nov 21, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The /usr/local/cpanel/bin/scanfornewmail is ran nightly during maintenance. It's not actively scanning the server at all times.

    Thank you.
     
  5. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator

    the email arrived a few hours later,
     
Loading...

Share This Page