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.

Hacks in /tmp and var/tmp

Discussion in 'General Discussion' started by shellie, Sep 4, 2003.

  1. shellie

    shellie Member

    Joined:
    Nov 26, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    There are some hacks of phpshell in var/tmp and /tmp. Any help on deleting them? Thanks!

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Use rm -rf to remove the directories in question. You should also remove /var/tmp and symlink it to /tmp and then setup restrictions on your /tmp partition.

    cPanel.net Support Ticket Number:
     
  3. shellie

    shellie Member

    Joined:
    Nov 26, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thanks...

    I use the command:

    locate phpshell

    And even though this comes up:

    /home/*username*/public_html/fan/archives/ and there's all sorts of phpshell files under that, I would just have to delete /tmp and var/tmp then?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page