Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to disable the execution from the browser?

Discussion in 'General Discussion' started by Shane_from_UK, Oct 13, 2011.

  1. Shane_from_UK

    Shane_from_UK Active Member

    Joined:
    Sep 14, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    In recent days we are facing the more and more hacking attempt by using the browser like php and cgi file execution from the browser, I have tried the following solution but it won't help..

    ConfigServer Scripts Forum • View topic - Adding/Updating No execution text to htaccess in virus found directories
    htaccess for subdirectories « WordPress Codex

    Addhandler text/plain .pl .cgi .php .py .jsp .asp .shtml .sh
    and
    Addtype text/plain .pl .cgi .php .py .jsp .asp .shtml .sh

    The above code I have tried in the .htaccess file but it won't convert the php and cgi pages in the plain text, I have crated simple php page with the php mail function and its still executing from the browser.

    Awaiting for positive suggestion...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Shane_from_UK

    Shane_from_UK Active Member

    Joined:
    Sep 14, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    bump..

    any answer from anybody...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Shane_from_UK

    Shane_from_UK Active Member

    Joined:
    Sep 14, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    any one......?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Have you asked over at CSF forum, since you obtained the information from there?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice