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.

Search all php files for line of code

Discussion in 'Security' started by martynh, Sep 6, 2010.

  1. martynh

    martynh Active Member

    Joined:
    Oct 6, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hi all,

    got an urgent issue and I was wondering if there is anyone on this forum have a script for linux or a ssh command to search all PHP files in /home for a single line of code written within?

    I have had a small security breach with a script been uploaded in to half of the accounts on the server but under different names, all the files contain the same code but have no idea how to search them

    Thanks advance
     
  2. martynh

    martynh Active Member

    Joined:
    Oct 6, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    This has been solved now, thanks
     
Loading...

Share This Page