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 i block the system(), shell_exec, exec function in PERL?????

Discussion in 'General Discussion' started by So_alegria, Jun 24, 2004.

  1. So_alegria

    So_alegria Member

    Joined:
    Jan 20, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    BRASIL
    How i block the system(), shell_exec, exec function in PERL??????
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I could give you an answer, but cross-posting the exact same question in four different threads is just downright rude :mad:
     
  3. So_alegria

    So_alegria Member

    Joined:
    Jan 20, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    BRASIL
    i'm sorry! but i need this information! :((
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's not excuse, you only need to ask once - just about everyone here who posts has an urgent request, if everyone started posting the same question in every forum here nothing would get answered.

    Anyway, to answer your question, you cannot block those functions, they are part of the perl language. What you can do is ensure that you secure your server appropriately (with a firewall, IDS, sensible file/directory permissions, etc).
     
  5. So_alegria

    So_alegria Member

    Joined:
    Jan 20, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    BRASIL
    how i do? for directory permissions?
     
  6. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    hire a system admin
     
  7. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    <--- is Unix/Linux certifyed =)
     
Loading...

Share This Page