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.

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