Jump to content
xisto Community
finaldesign1405241487

Problems With Spammers In Guestbook they always come back and post sh*t...

Recommended Posts

Hi all!

Im guessing that 90% of you people who post here at Xisto have your own webpages, blogs, forums and such stuff. I myself have myown too. The purpose of this post is not to talk about my web neither it's a way to get you to click link to my page. It's just about this issue I have with spammers. They constantly come back to my guestook, and enter bullsh*t to forms, like links to drugstores, viagra, porn, and such stuff. As every webmaster I must stay in track with them, and every day I constantly delete junk posts on guestbook...
Now my question is how to workaround this issue? Im aware of banning specific, or whole range of IP's from accesing my domain, but what to do If spammers keep comming back, from different IP adresses? Probably they are not stupid so they use public proxy servers, probably annonymouse one. So, what I can do about it? If anyone have idea, or some php script that may scan posts for specific words, and ignore them if its some bad stupid stuff. My guestbook don't have such stuff imlemented... And finally here is how it looks when spammers attack your guestbook:
A link to image

Share this post


Link to post
Share on other sites

What guestbook are you using ? Third party code or one written on your own ? If you wrote it, you can easily introduce some GD tricks, and make the addition process be accompanied by one of the CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) diagrams .. the images generated by GD containing numbers/letters which one has to enter to verify human presence...

 

Most of these stuff are added by spam bots - no one has the time to go around on millions of pages and add these manually. If you can implement the CAPTCHA Verification that'll get rid of it for once and all.

Share this post


Link to post
Share on other sites

What guestbook are you using ? Third party code or one written on your own ? If you wrote it, you can easily introduce some GD tricks, and make the addition process be accompanied by one of the CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart)

1064331700[/snapback]

Oh, yes, Im aware of that... I could say Im using my own code for guestbook... so anyway, is there some tutorials for implementing CAPTCHA, or I just go to google and search a bit? :)

Share this post


Link to post
Share on other sites

There is one trick you could use that would place a cookie on the offenders computer, then unless they use many different machine to attck you (Not too likely, but possible) you can deny them even posting, at least until they figure out you have put a cookie, but when the cookie is put on them everytime then soon they will get tired of attacking you and then going and deleting the cookies, which is almost as bad as spam to them.This way even if they have a dynamic IP then then cookie is still on the machine.

Share this post


Link to post
Share on other sites

There is one trick you could use that would place a cookie on the offenders computer, then unless they use many different machine to attck you (Not too likely, but possible) you can deny them even posting, at least until they figure out you have put a cookie, but when the cookie is put on them everytime then soon they will get tired of attacking you and then going and deleting the cookies, which is almost as bad as spam to them.

 

This way even if they have a dynamic IP then then cookie is still on the machine.

1064331817[/snapback]

hmm, not bad idea too, maybe I'll try that, and see what's the best solution. thanks Houdini!

Share this post


Link to post
Share on other sites

Well I had similar problems, but after I put an image with random numbers and letters, they stopped doing it, so it helps.. by the way I don't think cookies would help, unless it is some stupid guy attacking your guest book..

here is a quite good code to generate random numbers and letters, but i prefer numbers in the image, using gd you can make your own images as you like.

<?phpfunction random_chars($length = '6') {	/* Make Random Seed */  $value = '';	mt_srand((double) microtime() * 1000000);	$letters = "abcdefghijklmnopqrstuvwxyz"; /* add it if needed '123456789' 'ABCDEFGHIJKLMOPQRSTUVWXZ' */  for ($i = 0; $i < $length; $i++) {  	$value .= substr($letters, (mt_rand()%(strlen($letters))), 1);  }	return $value;}?>

so echo random_chars(); will make an 6 chars random value, you can set any value you want. :)

Share this post


Link to post
Share on other sites
The same thing started happening on my friend's blog: all of a sudden, he was getting a bunch of spam comments, sometimes five at a time or more. Not long after that started, Blogger introduced image verification for blog comments. He turned it on, and the spam comments came to a complete deadstop. Either the spammers were all bots, or they were people who were blind. :)

Share this post


Link to post
Share on other sites

One simple way is to add verification to your guestbook which is an image that has random letters and/or numbers that must be entered before you submit your comment on the guestbook.

 

64732[/snapback]


That exactly what he did - and that's what CAPTCHA is :huh: It's extremely easy to design and maybe I'll post the code sometime. Infact you can find the script on hundreds of different scripting sites as of today.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.