Page 2 of 2

Re:OSFaq has been spammed bigtime

Posted: Sun Jun 11, 2006 4:01 am
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.

Re:OSFaq has been spammed bigtime

Posted: Mon Jun 12, 2006 8:06 pm
by Colonel Kernel
It happened again. :'(

@#$)(*@ spammers!! >:(

Re:OSFaq has been spammed bigtime

Posted: Mon Jun 12, 2006 10:04 pm
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.

Re:OSFaq has been spammed bigtime

Posted: Tue Jun 13, 2006 5:50 am
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.

Re:OSFaq has been spammed bigtime

Posted: Tue Jun 13, 2006 5:58 am
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.

Re:OSFaq has been spammed bigtime

Posted: Tue Jun 13, 2006 6:56 am
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.

Re:OSFaq has been spammed bigtime

Posted: Tue Jun 13, 2006 7:17 am
by Solar
Great, thanks.

Edit: All further talk on the wiki issues in WikiIssues or the OS FAQ thread, please.