homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Search and Replace tool for folder and subfolder files needed
ImperialCommand




msg:4013134
 8:19 pm on Oct 25, 2009 (gmt 0)

Somehow all the files in my website have a script line added to them from a hack.
So I need to remove that one script line from each and every file in each and every folder.

Currently, I don't have a search and replace tool that will go through all the files in every folder to remove that one script line.
Is there a tool out there that you can recommend?

 

celgins




msg:4013211
 11:29 pm on Oct 25, 2009 (gmt 0)

If the files on your web host have been hacked, you still have the originals on your local machine, right?

I'll send you a sticky with a recommendation for a replace tool. However, an easier fix might be re-uploading all of your files--overwriting the hacked ones.

phranque




msg:4014106
 9:36 am on Oct 27, 2009 (gmt 0)

there is probably an existing vulnerability that must be repaired to prevent this from reoccurring.

on what platform are you making these edits?
you could use the "sed" stream editor if it is *nix.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved