Hi Sorry if I'm teaching my granny to suck eggs here, but Ive had many sites hacked into over the past few weeks, about 12 to be exact and in the end found it was the hosting companies fault as the hacker hid a file that recreated files every time i deleted them in from tmp folder.
This is what i do now to check any sites.
Recreate the best you can on a test site the site you have, install the same components and modules, and then using dream weaver use synchronize looking for "Get new from server", it will list all files on the server that you don't have on your test site. Go through them, of course there may be a lot especially images in virtuemart or galleries, but i found most of the time the little Bas**rds hide the files in there, as you get bored of checking through all the files, but its well worth it.
You will more than likely find a simple file manager script or directory, they even named one of the directories on mine com_uk and added it to
public_html/components/com_uk
Clever sod!!
Then if you have shell access through PuTTY, run these 2 lines of code exactly as i type them from the public_html folder, so you only edit the Joomla files not the public_html folder itself
Command to change the permissions for all directories to 755
Code:
find . -type d -exec chmod 755 {} \;
----
Command to change the permissions for all files to 644
Code:
find . -type f -exec chmod 644 {} \;
That will change every single file and folder in your site to the correct permissions, you now need to change back the few you need to keep so Joomla will work. Well it will still work, you just wont be able to add images, components, modules etc. But at least you know you haven't missed any files, and it may be a good idea to leave it all locked up for a while, whilst you sort out the problems.
I produced this flash video this morning whilst waiting for a load of files to download of how to do that exact process.
http://www.joomlamagazine.com/tutorials ... sions.htmlit shows you how to do it, very simple, it takes only a few seconds per site to secure up.
Hope this helps a little
regards
Ian
_________________
http://www.JoomlaSiteMonitor.comJoomla Security and backup suite.
http://www.NewWorldDesigns.co.ukDesign - CMS - Ecommerce – SEO