vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   The spam bots hit my sendmessage.php... (https://vborg.vbsupport.ru/showthread.php?t=74754)

FleaBag 01-20-2005 07:06 PM

The spam bots hit my sendmessage.php...
 
For the first time I ever I just received a whole load of spam through my contact us form. Admittedly, guests are able to post but I'd never heard of them using the vB form before. Does anyone else get much of a problem with this?

AN-net 01-20-2005 07:10 PM

maybe add image verification?

FleaBag 01-20-2005 07:15 PM

I didn't realise that was possible, I generally just upgrade vB for security and never check out the new features. :D

Dan 01-20-2005 07:25 PM

Quote:

Originally Posted by FleaBag
I didn't realise that was possible, I generally just upgrade vB for security and never check out the new features. :D

Image Verifaction would be a good thing for it... maybe just disable it, that might be a better approach? I never see anyone use it on any of the sites I run.

FleaBag 01-20-2005 07:33 PM

I get the majority of my incoming email through it so I can't disable it, and I don't want to list a contact address on the site if I don't have to, I had to change the last one because so many spam lists decided to acquire me.

Dean C 01-20-2005 08:17 PM

Make an extra field in the template for the sendmessage.php:

HTML Code:

<input type="text" name="comments_" value="" class="omgzwtfbbq" />
Then somewhere in sendmessage.php where it accepts the incoming post call to send the email put:

PHP Code:

if($_POST['comments_']) { exit; } 

In the extra CSS box when editing a style's css put:

HTML Code:

.omgzwtfbbq { display:none; }
The logic behind this method is that the spambot can't tell it's a hidden field unless it's smart enough to check the corresponding CSS class. Therefore it'll fill it in and you can check within your PHP script to see that it's been filled in and hence exit the script before sending out the email. Some spambots are smart enough to refer back to the appropriate CSS but this'll stop 90% of the incoming spam.

AN-net 01-20-2005 08:52 PM

good one dean:)

but i use the image verf, look in the register.php file or the /includes/functions_register.php file:) in there is code for image verification. i personally image verification for guest posting;)

Mark.B 01-28-2005 11:28 PM

Can anyone post instructions for how to add image verification to sendmessage.php?

This is something quite a few would find useful. The spammers ARE starting to hit sendmessage.php now, I am getting loads.

AN-net 01-28-2005 11:43 PM

Quote:

Originally Posted by Mark.B
Can anyone post instructions for how to add image verification to sendmessage.php?

This is something quite a few would find useful. The spammers ARE starting to hit sendmessage.php now, I am getting loads.

take a look at my new thread/post image verf. hack. just addlib a little with it and it should work;)

Mark.B 01-28-2005 11:48 PM

Quote:

Originally Posted by AN-net
take a look at my new thread/post image verf. hack. just addlib a little with it and it should work;)

Cheers...have done so, and also studied register.php and the register template, and have come up with it, I think....

http://www.bowlandcentral.com/forum/sendmessage.php


All times are GMT. The time now is 01:00 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.01304 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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