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!

How to search apache logs from a few days ago

Discussion in 'EasyApache' started by fishfreek, Sep 3, 2006.

  1. fishfreek

    fishfreek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    238
    Likes Received:
    0
    Trophy Points:
    166
    I have reason to belive one of my sites on my cpanel server is not secure and a hacker placed a perl script in the /tmp folder of the server a few days ago and executed it today. Hows the best way to check the old weblogs to see what account this came from?
     
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    166
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fishfreek

    fishfreek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    238
    Likes Received:
    0
    Trophy Points:
    166
    I tried the command

    $cat /usr/local/cpanel/domlogs/apache/* | grep *dc.pl*

    Where the file in the /tmp folder was dc.pl but that turned up nothing.
     
Loading...

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