Jump to content
MakeWebGames

Recommended Posts

Posted

Ok, site got semi-hacked and now EVERY PHP file has two lines of advertising code, which is all the same. I want to know if it's possible to mass edit all the files automatically by entering in there two lines and going through and either replacing them or removing them completely.

Thanks in advanced, any help is much appreciated.

Posted

Re: Need help; Mass file editing

Ah thanks. Not using Dreamweaver, but I'll give it a try. If it doesn't want what I want to do I'll report back with my solution.

 

-CHAMAVELI

Posted

Re: Need help; Mass file editing

Why remove the code? Just restore a backup prior to you being hacked.

What if they didnt do a backup

Then they shouldn't own a website?

Most hosting companies offer some form of backup service, Even if its just weekly its better then none. If your using a host without backup's you could be ruined if you get hacked or a server error occur's.

  • 2 weeks later...
Posted

Re: Need help; Mass file editing

 

Why remove the code? Just restore a backup prior to you being hacked.

Cause our most recent backup was not good enough. We had gone on a big script spree that week. Something could have exploited it

Anyway fix my problem with Mass Text Editor 1.2. It's shareware, but does that job.

Thanks anyway guys.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...