vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   A trick to send spammers to hell (or anywhere you want!) (https://vborg.vbsupport.ru/showthread.php?t=232624)

MaryTheG(r)eek 01-09-2010 09:14 AM

A trick to send spammers to hell (or anywhere you want!)
 
Hello to all,

I think that most of you, have the same problem with me. Huge amount of spam posts in my site. I have tried any possible way to fight spam, but except the post moderation (which is a time waster), nothing was working.

A few days ago, an idea came to my mind, a simple way to do it, which finally seems to work fine, as I've 0 (zero) spam since that day. Even if the idea is simple, it's needs some knowledge to follow it, so try it in your own risk.

What you've to do (follow the steps one by one):
  1. Turn your site off
  2. Rename the file register.php to anything you like. eg I've renamed it to microrgister.php
  3. Do a Search and Replace for the string register.php (case sensitive) with the name of the new file (don't forget the .php extention), in the files:
    1. The file that you've just renamed (eg in my case microregister.php)
    2. functions_online.php at /includes
    3. md5_sums_vbulletin.php at /includes
    4. email.php at /admincp
    5. user.php at /admincp
  4. Upload these files to your site
  5. Login to your AdminCP
  6. Goto Styles & Templates -> Search in Templates -> Find & Replace
  7. Search for register.php ..... Replace with the new filename (don't forget the extention .php). Set "Test Replacement Only" to NO
  8. Here you've to click many times "Continue", but actually the changes are in a few only templates (You'll see them marked in red).
  9. Now goto Languages & Phrases -> Search in Phrases and search for register.php setting Case-sensitive to YES
  10. As I remember it's about 6-8 phrases to change. 3 of them (email phrases) have more than one (4) replacements.
  11. That's all:)
As a final step, if you want to have some fun, write a file register.php with a redirection to anywhere you like and then upload it to your site. A sample code for this file is:
Code:

<?php
  header("location:http://www.spammers.com");
?>

I repeat, that, if you're not familiar with such change don't even think to try it. A disadvantage is that Jelsoft releases very often new versions, so (as I believe) you've to repeate it in the future.

Maria

M@tt 01-10-2010 12:32 AM

That's a really good idea. Vbulletin should just put an option in admincp to change it to whatever you like! Would stop a lot of bots/spammers I would imagine.

Dygear 01-10-2010 12:27 PM

I agree, that's great, thanks for the tip. Should spamming become an issue, I'll be sure to use this.

MaryTheG(r)eek 01-10-2010 01:13 PM

Quote:

Originally Posted by Dygear (Post 1951888)
I agree, that's great, thanks for the tip. Should spamming become an issue, I'll be sure to use this.

Thank you both of you. I post a suggestion to vbulletin.com to add an option like the one that they had at 3.x. version with the name of forumindex file. If they place the filename in variable, you can change the name very often, so your site should be totally secure from spammers.

Even since the time of my post, I had none spam registration or post.

Maria

kall 01-10-2010 03:23 PM

Quote:

# Goto Styles & Templates -> Search in Templates -> Find & Replace
Why not just use a Replacement Variable?

MaryTheG(r)eek 01-10-2010 04:07 PM

Quote:

Originally Posted by kall (Post 1952019)
Why not just use a Replacement Variable?

Why do you think that I know to use all vb features? ...lol..lol... By coding for vB in no way means that I'm familiar with the use of the whole system. As coder, I follown the well known to me search and replace:D

Maria

italcro 01-10-2010 10:14 PM

Hi Everybody

MicroHellas, I am having a very similar problem to yours, and I have ONLY HALF SOLVED IT.

I have just purchased a VB4 Publishing Suite, and I haven't yet listed the forum's URL on Google or Yahoo, and already I have become a target for SPAMMERS AND PROFESSIONAL TIMEWASTERS, almost invariably with FAKE or INEXISTENT e-mail accounts or with e-mail accounts linked to Russian porn sites and almost invariably registering with weird or outright offensive names like SexPervert, TedBundyForever, LongLiveJeffreyDahmer, etc and then posting rubbish.

Upon advice from the VB customer service I have made the forum MODERATED in order to stop spammers and idiots from joining the forum.
However the other half of the problem which is still unsolved is the fact that I DON'T WANT the statistics to show the names of members who are still in the moderation queue and have not been approved yet by myself or another moderator.

Of course I have no desire to see my forum become a den for freaks or weirdoes, therefore, again, I don' t want anyone's name to appear on these Statistics until they have been fully approved.

Therefore can anyone please tell me, if at all possible, how to solve this
problem?

Kind regards

italcro

edward hamilton 01-13-2010 12:34 AM

This sounds like the best idea I've seen yet for dealing with automated spammers. Here is some documentation on Replacement variables from vBulletin.

This approach should limit automated spammers better than anything I've seen. Part of the problem is the simplicity of google searches for sites with vbulletin files and the register.php file.

Admin CP>Styles & Templates>Replacement Variable Manager> [Add New Replacement Variable]

Then you just have to rename register.php to your replacement variable to implement this simple spam blocker

barcena 01-13-2010 01:23 AM

Quote:

Originally Posted by italcro (Post 1952338)
Hi Everybody

MicroHellas, I am having a very similar problem to yours, and I have ONLY HALF SOLVED IT.

I have just purchased a VB4 Publishing Suite, and I haven't yet listed the forum's URL on Google or Yahoo, and already I have become a target for SPAMMERS AND PROFESSIONAL TIMEWASTERS, almost invariably with FAKE or INEXISTENT e-mail accounts or with e-mail accounts linked to Russian porn sites and almost invariably registering with weird or outright offensive names like SexPervert, TedBundyForever, LongLiveJeffreyDahmer, etc and then posting rubbish.

Upon advice from the VB customer service I have made the forum MODERATED in order to stop spammers and idiots from joining the forum.
However the other half of the problem which is still unsolved is the fact that I DON'T WANT the statistics to show the names of members who are still in the moderation queue and have not been approved yet by myself or another moderator.

Of course I have no desire to see my forum become a den for freaks or weirdoes, therefore, again, I don' t want anyone's name to appear on these Statistics until they have been fully approved.

Therefore can anyone please tell me, if at all possible, how to solve this
problem?

Kind regards

italcro

Wow.. I feel for you.

I gave the Human Verification Manager a shot and is working really nice for me, I choose the Questions and Answer way and although simple questions I don't think no robot can answer them.... yet. ;)

Good luck.

MaryTheG(r)eek 01-13-2010 02:50 AM

What I know is, that is 17 days now that I've activated this trick and I've 0 (zero) spamm registrations, while only in 5 days since the time that I've installed the Gold release I had 248!! At that time I was moderating new registrations but it was a time waster.

Maria


All times are GMT. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01389 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete