OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 19, 2024 6:16 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Sun Jun 11, 2006 4:01 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7615
Location: Germany
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.


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Mon Jun 12, 2006 8:06 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 6:06 pm
Posts: 1437
Location: Vancouver, BC, Canada
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!


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Mon Jun 12, 2006 10:04 pm 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7615
Location: Germany
...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.


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Tue Jun 13, 2006 5:50 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
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 --


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Tue Jun 13, 2006 5:58 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7615
Location: Germany
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.


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Tue Jun 13, 2006 6:56 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
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 --


Top
 Profile  
 
 Post subject: Re:OSFaq has been spammed bigtime
PostPosted: Tue Jun 13, 2006 7:17 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7615
Location: Germany
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group