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.

Question About mod_security rule SecFilter "wget\x20"

Discussion in 'Security' started by EdRooney, Nov 24, 2004.

  1. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    What does the \x20 mean/do?
    SecFilter "wget\x20"
     
  2. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
    \x20 in a mod_security rule translates to %20 in a URL which is a hexidecimal code which translates to 32 in decimal/base ten which translates to the ASCII code for a space.

    Therefore "wget\x20" means "wget " (the string w-g-e-t-space)
     
  3. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    I noticed that it blocks wget+ but not wget%20

    Why is that?
     
Loading...

Share This Page