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 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:
    16
    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:
    16
  3. fishfreek

    fishfreek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    238
    Likes Received:
    0
    Trophy Points:
    16
    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