Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    53

    Default dissallow usage of all cgi-sys scripts

    I have a customer that is being attacked. What the people are doing is trying to spam using the cgi-sys formmail in his hosting server.

    Is there a way to remove these scripts from the users directory or the server alltogether??

    Thanks

    JD

  2. #2
    Member
    Join Date
    Nov 2003
    Location
    Chicago, IL- USA
    Posts
    15

    Default Re: dissallow usage of all cgi-sys scripts

    Originally posted by eter4
    I have a customer that is being attacked. What the people are doing is trying to spam using the cgi-sys formmail in his hosting server.

    Is there a way to remove these scripts from the users directory or the server alltogether??

    Thanks

    JD
    You can remove this from the Reseller WHM control panel.
    Packages >>Feature Manager


    Then on the packages creation/edit page there's an checkbox for "Email Scripts (cgiemail,formmail)"
    uncheck that.
    IDK(Internet Development Kit) CMS \\ Putting "Nuke-based" systems to shame.
    www.IDK-CMS.com
    Professional & Efficient programming || PHP, MySQL, PostgreSQL, XML, and JSP.
    daejuan[at]gmail.com

  3. #3
    Member
    Join Date
    Feb 2002
    Posts
    53

    Default

    Will this just remove the link from CPANEl or actually remove the scripts from the server?

  4. #4
    Member
    Join Date
    Nov 2003
    Location
    Chicago, IL- USA
    Posts
    15

    Default

    Originally posted by eter4
    Will this just remove the link from CPANEl or actually remove the scripts from the server?
    I'm not for sure.
    I'll try it.
    IDK(Internet Development Kit) CMS \\ Putting "Nuke-based" systems to shame.
    www.IDK-CMS.com
    Professional & Efficient programming || PHP, MySQL, PostgreSQL, XML, and JSP.
    daejuan[at]gmail.com

  5. #5
    Registered User
    Join Date
    Feb 2004
    Posts
    2

    Default

    I've just actually done this... and it's pretty simple.

    Find your apache config (usually /etc/httpd/conf/httpd.conf

    and open it up in an editor on your shell (I reccomend pico/nano)

    Find the line that says

    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
    and change it to

    # ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
    Now use WHM to restart Apache and voila! no more

Similar Threads & Tags
Similar threads

  1. Disable insecure Cpanel cgi-sys scripts -- ¿?¿?
    By sh4ka in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-06-2006, 05:16 PM
  2. suexec and cgi-sys scripts
    By Brian Farkas in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-26-2005, 10:31 PM
  3. CGI-scripts not found from cgi-sys
    By gemininetcom in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-08-2003, 05:11 PM
  4. Adding Scripts to the cgi-sys Directory?
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-26-2003, 08:26 PM
  5. PLEASE let us disable cgi-sys/formmail* scripts!
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-26-2003, 12:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube