OSFaq has been spammed bigtime

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:OSFaq has been spammed bigtime

Post by Solar »

Pype.Clicker wrote: And no, i have no recent dump myself: all my attemps to get a snapshot or a dump of the wiki just resulted in corrupted zip files. All i could ever gather are XHTML dumps.
FWIW, I managed to get a working snapshot of the Wiki, uncorrupted, available at http://www.rootdirectory.de/solar/wiki.zip. Feels much better now. ;-)

Since the Wiki has recovered, I'm taking the static HTML version offline again.
Every good solution is obvious once you've found it.
User avatar
Colonel Kernel
Member
Member
Posts: 1437
Joined: Tue Oct 17, 2006 6:06 pm
Location: Vancouver, BC, Canada
Contact:

Re:OSFaq has been spammed bigtime

Post by Colonel Kernel »

It happened again. :'(

@#$)(*@ spammers!! >:(
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:OSFaq has been spammed bigtime

Post by Solar »

...and restoring the Wiki from backup file failed royally, further screwing up the edit history. DAMN!

Don't bother with manual edits, that sucker will probably raid again.

df, is there some way you can make your "kill everything younger that X" SQL into something that can be triggered remotely (after sufficient authorization, of course)? I'm thinking of some PHP script behind .htaccess... that way, the mods stand a chance of at least keeping that spam script, without you having to do it each time.
Every good solution is obvious once you've found it.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:OSFaq has been spammed bigtime

Post by df »

I can probably write something.

all it involves is knowing the pagename of the last good edit,
getting its page id, finding mtime from its lage page revision
and deleteing all pages where mtime > X
(and purge the cache too)

I dont particuarly want to lock all pages... I guess this is nice and simple cleanup. I have not written php in a looong time. I'll see what I can do.
-- Stu --
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:OSFaq has been spammed bigtime

Post by Solar »

df wrote: I have not written php in a looong time. I'll see what I can do.
I'll see if I can get a fellow PHP coder interested in this.... {picks up the phone}

Edit: He'd be willing to do this. He needs: a) the PhpWiki version; b) the PHP version; c) the MySQL version used, to make sure he doesn't use features of versions that aren't there. Ideal would be a mysqldump of the database (for testing). If that's fine for you, send it to me (solar (at) rootdirectory (dot) de) (or send me the URL where to download the dump), I'll forward the stuff, and we have our mass de-spammer done in short order.
Every good solution is obvious once you've found it.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:OSFaq has been spammed bigtime

Post by df »

I'll crank up the info you need tonight (my work blocks ssh so I cant get into my box) and send it with all relevant info.
-- Stu --
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:OSFaq has been spammed bigtime

Post by Solar »

Great, thanks.

Edit: All further talk on the wiki issues in WikiIssues or the OS FAQ thread, please.
Every good solution is obvious once you've found it.
Post Reply