[pmwiki-users] how to remove vandalism from wiki
pmwiki at 911networks.com
pmwiki at 911networks.com
Sun Nov 18 17:06:21 CST 2007
On Sun, 18 Nov 2007 02:56:34 -0800
Matt Hollingsworth <mattt1138 at hotmail.com> wrote:
> > 2. Check the file ownerships. All these files should be owned
> > the web server.
>
> They're mostly all 777 permissions. Should I change them to
> something else?
drwxr-s--- 3 www www 4.0K Sep 6 11:06 cookbook
drwxr-s--- 2 www www 4.0K Jun 15 07:52 docs
-rw-r----- 1 www www 633 Nov 14 2006 favicon.ico
-rw-r----- 1 www www 29 May 25 12:03 index.php
drwxr-s--- 2 www www 4.0K Jun 20 14:18 local
-rwxr-xr-x 1 www www 76K Jul 31 14:08 pmwiki.php
drwxr-s--- 6 www www 4.0K Jun 20 14:19 pub
-rw-r----- 1 www www 196 Jun 20 18:49 robots.txt
drwxr-s--- 2 www www 4.0K Sep 25 12:32 scripts
-rw-r--r-- 1 www www 2.7K Nov 17 14:59 sitemap.xml.gz
drwxr-s--- 7 www www 4.0K Sep 21 09:20 uploads
drwxr-s--- 12 www www 4.0K Nov 17 13:24 wiki.d
drwxr-s--- 2 www www 4.0K Sep 28 11:56 wikilib.d
Everything is 740. 'chown 740 *' [w/o the quotes]
only pmwiki.php is 755
>
> > 3. What's are the .htaccess [linux] settings.
>
go that directory and 'cat .htaccess' [w/o the quotes] and check for
all firectories
Here is mine:
<Files ~ "^[\._]ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
> > 5. SSH [linux]? change the port to a higher value than 22...
>
> Don't know about this. Checking into it. I don't think I have
> it enabled at all.
most likely: /etc/ssh/sshd_config
Port 32222
--
Thanks
http://www.sqlhacks.com
The SQL Server knowledge base
More information about the pmwiki-users
mailing list