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!

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:
    151
    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:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. shellie

    shellie Member

    Joined:
    Nov 26, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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:
     

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