On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

Current User: Guest
Please consider registering

 
Search Forums:


 




Site hacked. SF goes to “Post”

UserPost

11:06 pm
21 Apr 2008


Ron

Guest

 
1

hi andy (and radio)!


my site was hacked months ago and i just discovered what it was as it crashed my site again. a link to the hack ( ro8kfbsmag.txt )

is provided at end of this post. a by-product of the hack is it has moved my SF from the “page” to the “post” mode. within ( ro8kfbsmag.txt ) are instructions on how to again put pages in their proper place. do you have any experience, advice here B4 i attempt to move things? here is an interesting tale if you have not already read it… http://wordpress.org/support/topic/141041?replies=38 r

12:13 am
22 Apr 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
2

Bad luck.

The main difference between a post and a page (but not the only one) is in the 'post_type' column of the 'posts' table. For s standard post the word 'post' is used and for a standard page the word 'page'. Pretty simple. So if you can edit your db (via a tool like phpMyAdmin) then it is easy to make these changes.


Pages can have entries in the popstmeta table - for example, if they have theor own template defined. But once you have access to the record as a page it shoud be easy to correct thos sort of thing via the wp admin interface

12:43 am
22 Apr 2008


Ron

Guest

 
3

ok, understand the typical post vs page and can fix in phpmyadmin. thanks for explaining that.


how does SF fit in? everything SF will fall into place? anything special to do? looking for “sf” headers? it will be pretty easy to recognize and fix once inside phpmyadmin?

12:50 am
22 Apr 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
4

Well, assuming SF wasn't hacked then as long as the page ID and page slug match those set in the forum admin options you shoul;d be OK.

5:10 pm
1 May 2008


Ron

Guest

 
5

andy,


also, i am going to backup db as of today. then restore my server back to 3/30, two days prior to a big rush on my site ( 4/1 of course ) hoping i can go back prior to the wp-options crash.


if all goes well, or not, i am going to upgrade from wordpress v 2.1.1 to v 2.5. any advice before i proceed? thanks. r

5:12 pm
1 May 2008


Ron

Guest

 
6

hmm, this may be a duplicate reply, sorry…


andy,


a friend who knows a little phpmyadmin followed up on your ” bad luck ” remark above and responded = ” I can find the forum posts as described , however, when I update 'post' to 'page' inside the db the 404 error still exists :(


r

5:23 pm
1 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
7

What 404 error? Are you referring to the forum giving a 404?

Check slug and ID in the forum options (admin) match the 'page' id and slug. And perfrom an update permalink from the forum Options Toolbox tab.

6:08 pm
1 May 2008


-Radio-

Moderator

Florida - USA

posts 471

 
8

I have taken a look at your site and think I have the answer to your 404 Error.


The main site menu is located at http://www.petmonologues.com/


However the rest of the site is viewed at http://www.petmonologues.com/pet022207/


Try updating your permalink in the forum's admin to reflect pet022207/sf-forum


6:34 pm
2 May 2008


Ron

Guest

 
9

hey radio!


i had a good feeling about your suggestion. i updated permalinks. note: i have two htaccess = one in front of pet022207 + one after. i just updated the one in front and looked at the one after. both are the same now so i did not have to modify the one after. make sense ? ;-)


anyway, i surfed the site a bit… ;-(


ty r

6:48 pm
2 May 2008


Ron

Guest

 
10

radio, note: i reread your suggestion and did not notice updating the FORUM's permalinks. so i went to manage>simple forums>permalinks = ;-(


btw - after this big hack i made a change to the htaccess after pet022207 = before the forum = i have an additional htaccess code = indexignore ( listing readme, htaccess, header, vti. etc. )


i put this code in after this mess and i did not comment at the time what exactly was the purpose of this code. i think it tells apache not to list files for the world to see.

6:07 pm
6 May 2008


Ron

Guest

 
11

i have upgraded to wp v 2.5 and slowly building up. a couple of things


1) i went into the db and manually changed “post” to “page” where appropriate and it is working

2) i took out the extra security of an htaccess code in wp-admin directory and the 404 went away. will return to this issue

3) i had simple forum v2.1 on my old wp v 2.1.1 and two things need to be done.

a) change the forum “post” to “page”

b) install your new forum. which version to you recommend and anything special to do? there is no “simple forum” plug (though the db has SF v2.1 info on it) in the site at present. only two plugins are currently installed. “secure and accessable php contact form” and “simple tags”


any advice, instructions on installing your forum? note: i am eventually going to turn put the forum on a page so it is as large as your forum and notice you have provided clear instructions to do this.

8:09 pm
6 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
12

I'd be tempted to wait for 3.1 which, all being well, should be along very soon. Just to save going through the process twice. Other than that I have no specific advice….

11:31 pm
6 May 2008


Ron

Guest

 
13

3.1 sounds good. i will wait. figuring out the new 2.5 widget interface will keep me busy if i can even figure it out how to get my old stuff migrated. thank you. r

11:33 pm
6 May 2008


Ron

Guest

 
14

while i am waiting 3.1, is it feasable to prepare the new css/page for the larger format. or does 3.1 have to be installed.

11:51 pm
6 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
15

Not at all. It's only a theme template after all.

10:12 pm
12 May 2008


Ron

Guest

 
16

andy, while eagerly awaiting 3.1 i can't not read about security/forums, etc. i found this. do you know anything about this issue?


http://secunia.com/advisories/28567/

10:40 pm
12 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
17

Not personally no - I don't, of course, use it :)

I do recall the advisory being published though.

11:04 pm
12 May 2008


Ron

Guest

 
18

what i am really asking is if v3.1 is safe. never did find out how hackers got in my blog. r

11:20 pm
12 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
19

It's as safe as we can make it. We do take security very seriously.

You did note, I hope, that the advisory you linked to was NOT for this plugin?

2:48 pm
13 May 2008


Ron

Guest

 
20

i know it was not for your work. another article made mention of that too but i can't recall where. r

10:50 pm
25 May 2008


PetMono

Member

posts 28

 
21

andy

i installed v3.1.1 and have a fatal error question. should i close this thread and open a new one in forum 3.1?

r

11:09 pm
25 May 2008


Mr Papa

Moderator

Arizona, USA

posts 1075

 
22

new topic please…

11:10 pm
25 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4327

 
23

Sure but check recent posting as there have been quite a few with specific upgrade problems and you might find a resolution already posted.



Reply to Topic: Site hacked. SF goes to “Post”

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 10 + 9        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

9 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1631

Posts: 10992

Members:

There are 741 members

There are 712 guests


Yellow Swordfish has made 4327 posts

Top Posters:

Mr Papa - 1075

-Radio- - 471

jfv - 80

angelic007 - 66

RoseCitySister - 64

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.3 (Build 356)