If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / A VIRAL Problem!

A VIRAL Problem!

Locked

Started by big_gee on 26 Jun 2006, 8:34 PM · Views: 7,539

Results 41 to 46 of 46
This thread is locked. New replies are disabled.
4 Jul 2006, 5:14 PM
#41
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #41 by vger

Actually the only time that there is a need for any folder or file to have permissions of above 755 is if the server is set up so that 755 won't work. Unfortunately some hosts do have that sort of setup. Once installed no files should have permissions of above 644, and no folders above 755.

Vger

5 Jul 2006, 2:34 PM
#42
big_gee avatar

big_gee

New Zenner

Join Date:
May 2006
Location:
Aberaeron, Ceredigion, Wales
Posts:
73
Plugin Contributions:
0

Post #42 by big_gee

Vger:

Actually the only time that there is a need for any folder or file to have permissions of above 755 is if the server is set up so that 755 won't work. Unfortunately some hosts do have that sort of setup. Once installed no files should have permissions of above 644, and no folders above 755.

Vger

Thank you Vger,

You're quite right, That is something that new ZC users should be warned about at inception. ZC documentation catagorically says:

CHMOD 777 for
/cache
/pub
/images
/includes/languages/english/html_includes
/admin/backups
/admin/images/graphs

These to 444 or 644
/includes/configure.php
/admin/includes/configure.php

So most new users will religiously stick to what they're told and will change the CHMOD attributes to 777 for the folders and files listed.

Incidentally Vger, thanks for your recommendation of TextPad but that only does what many other text editors do (including ones I've already got) i.e. it has a "find & replace" function however it will not search and change a specific string in a whole folder of many files in one go - that's what I'm after. JollyJim tells me that he's used a similar utility but can't remember what it is! I'm after something that will trawl through every file for a specific string and change it (or delete it in my case) automatically - in bulk - and in one go.

Kind Regards,

G

5 Jul 2006, 9:25 PM
#43
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #43 by kobra

G,

I know that you are looking for the automatic...

But try the admin developers tools and search for the string or pertinent sub-phrase in admin & catalog files. this might just yield a hand full of files.

Zen-Venom Get Bitten

5 Jul 2006, 11:22 PM
#44
big_gee avatar

big_gee

New Zenner

Join Date:
May 2006
Location:
Aberaeron, Ceredigion, Wales
Posts:
73
Plugin Contributions:
0

Post #44 by big_gee

kobra:

G,

I know that you are looking for the automatic...

But try the admin developers tools and search for the string or pertinent sub-phrase in admin & catalog files. this might just yield a hand full of files.

Thanks kobra - that sounds like a good idea, it'll at least get me started. I hope JollyJim can jog his memory, because that would be the easiest solution.

Kind Regards,

G

6 Jul 2006, 12:07 AM
#45
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Post #45 by brent

Big GEE:

Incidentally Vger, thanks for your recommendation of TextPad but that only does what many other text editors do (including ones I've already got) i.e. it has a "find & replace" function however it will not search and change a specific string in a whole folder of many files in one go - that's what I'm after. JollyJim tells me that he's used a similar utility but can't remember what it is! I'm after something that will trawl through every file for a specific string and change it (or delete it in my case) automatically - in bulk - and in one go.

Kind Regards,

G

I've never used the function so don't know how good it is but if you have access to Dreamweaver I think it will do what you want.

Looking at my copy the "Find and Replace has the following options:
Find in: Selected Text, Current Documents, Open Documents, Folder, Selected files in Site, Entire Current Local Site
Search: Source Code, Text, (Text Adv), Specific Tag

A Quick Google Search produced the following plus many more but again I've not used any of them.
http://www.replsoft.com/replacer.html

Hope this helps.

Brent

6 Jul 2006, 1:19 AM
#46
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,754
Plugin Contributions:
0

Post #46 by Kim

NOTE: You can simply replace all the infected files with clean files from the download and you only have to "clean" the files in your custom template directories (that is IF you have used the overrides properly)

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.