Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Other Forums > Forum Suggestions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 8th April 2007, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Can you post how you did that? Might be interesting for users who run a phpbb forum.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 8th April 2007, 15:59
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Question

Sure, nice to give something back here

Should i post it here or write it as a how to?
Reply With Quote
  #13  
Old 9th April 2007, 17:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Post it here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 9th April 2007, 17:34
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,145
Thanks: 4
Thanked 55 Times in 51 Posts
Default

I still think you should run your own captcha program... not one provided by vbulletin because the more people use the same system the more interesting it becomes to hack... however if you are the only one using a certain captcha who would bother to hack it?
Reply With Quote
  #15  
Old 9th April 2007, 18:01
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Smile

This post will hopefully stop spammers from signing up on your phpbb forum. Just follow the steps below:

1. First open the file in the phpbb root, /includes/usercp_register.php

2. Find this part in the script:
PHP Code:
    else if ( $mode == 'register' )
    {
        if ( empty(
$username) || empty($new_password) || empty($password_confirm) || empty($email) )
        {
            
$error TRUE;
            
$error_msg .= ( ( isset($error_msg) ) ? '<br />' '' ) . $lang['Fields_empty'];
        } 
3. Now add the following exactly below it:

PHP Code:
// ----  check not a dogy user ------
// By Alex Illsley 2006
// www.fireproductions.co.uk

function user_dogy_check($word) {
if(
stristr(strtolower($_POST['occupation']), $word)) { return "TRUE"; }
if(
stristr(strtolower($_POST['interests']), $word)){ return "TRUE"; }
if(
stristr(strtolower($_POST['website']), $word)) { return "TRUE"; }

}

if (
user_dogy_check("sex"
OR 
user_dogy_check("anal"
OR 
user_dogy_check("porn"
OR 
user_dogy_check("tramadol")
OR 
user_dogy_check("pharm")
OR 
user_dogy_check("viagra"
OR 
user_dogy_check("dating")
OR 
user_dogy_check("nude")) 
$error=TRUE$error_msg .= ( ( isset($error_msg) ) ? '<br />' '' ) . "Dogy User Profile, ACCESS DENIED!"; }

// CHECK END 

I also made my own PHP capatcha aswell for my phpbb forum, i get like no spam bots now.

I hope this helps someone,
Alex
Reply With Quote
The Following User Says Thank You to alexillsley For This Useful Post:
falko (10th April 2007)
  #16  
Old 19th May 2008, 09:37
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,145
Thanks: 4
Thanked 55 Times in 51 Posts
Default

another spambot wave hits the forums here... I'm still of the opinion that an own verification service/captcha service would be better because adaptation will be less likely...

Once you hack the default vb mechanisms you can spam on ever vb board that uses those ones.

Although it might very well be, that the registration of accs is done manually and once the acc is confirmed use the spambots.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #17  
Old 7th June 2008, 11:02
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
 
Default

The never ending war

I'm went over lots of CAPTCHAs including my own and none of them was so successfull as the one i'm using now. recaptcha.net, its free, its for a good cause and so far its not been beatable by a OCR.

You even have it set for this forum: http://www.vbulletin.org/forum/showthread.php?t=151824

Of course sometimes spammers do get over this protection by using real people to post spam.

Last edited by TheRudy; 7th June 2008 at 11:28.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassasin/ClamAV Verification tinfoil General 1 7th January 2006 00:36
I noticed a resellers image folder traccer General 1 10th December 2005 13:06
perfect install 5.04 isp on desktop image? bspratt Server Operation 5 6th November 2005 14:27
GD image toolkit and PHP jon335 Server Operation 2 9th October 2005 13:45


All times are GMT +2. The time now is 09:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.