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.

The Rule For ModSecurity

Discussion in 'Security' started by unname2010, Sep 4, 2010.

  1. unname2010

    unname2010 Registered

    Joined:
    Apr 16, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,i'm newbie , i want to write a Rule detect some command on webshell, i wrote a Rule
    Code:
    SecRule REQUEST_BODY "(more|less)[[:space:]]+(\/|[A-Za-z0-9]|\.)" "phase:2,deny,log,status:403"
    but it's not run
    what should i do ? plz help me
    THANK
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What exactly are you looking to do that hasn't been already done with the latest rules available these days?

    This is not exactly a cPanel question, you might want to visit a mod security email list or forums for assistance with this custom ruleset you're working on, for better support.
     
Loading...

Share This Page