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 disable base64_decode if it is on eval only

Discussion in 'Security' started by peratik, Nov 22, 2013.

  1. peratik

    peratik Member

    Joined:
    Aug 31, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    We need to base64_decode function is disabled only if it is on eval function.

    for example i need:
    echo base64_decode($something);
    enable.

    and
    echo eval(base64_decode($something));
    disable.

    Is there any way to prevent this on cPanel?

    Regards
     
  2. peratik

    peratik Member

    Joined:
    Aug 31, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Found the solution:

    suhosin.executor.eval.blacklist=base64_decode ....
     
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