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.

echo "`uname -a`";echo "`id`";/bin/sh

Discussion in 'General Discussion' started by azrael, Feb 14, 2009.

  1. azrael

    azrael Active Member

    Joined:
    Jul 20, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    How can I protect server hacking by this command

    echo "`uname -a`";echo "`id`";/bin/sh


    When does the code run, my server hang ooops ,,,
     
  2. SuperTwinMgmt

    SuperTwinMgmt Member

    Joined:
    Feb 16, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I would comb the access logs and figure out what script is being accessed to run those commands. Most attackers are able to run those commands by exploiting vulnerable php scripts. You can fix this by patching your vulnerable php page for starters.
     

Share This Page