Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Problems With Spammers In Guestbook, they always come back and post sh*t...
finaldesign
post Dec 1 2005, 03:10 PM
Post #1


[+] Graphic Designer [+]
Group Icon

Group: Members
Posts: 614
Joined: 6-April 05
From: Croatia
Member No.: 3,666



Hi all!

Im guessing that 90% of you people who post here at Astahost 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
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Dec 1 2005, 03:55 PM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



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.
Go to the top of the page
 
+Quote Post
finaldesign
post Dec 2 2005, 08:50 AM
Post #3


[+] Graphic Designer [+]
Group Icon

Group: Members
Posts: 614
Joined: 6-April 05
From: Croatia
Member No.: 3,666



QUOTE(miCRoSCoPiC^eaRthLinG @ Dec 1 2005, 05:55 PM)
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)
*


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? biggrin.gif
Go to the top of the page
 
+Quote Post
Houdini
post Dec 2 2005, 05:21 PM
Post #4


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340



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.
Go to the top of the page
 
+Quote Post
finaldesign
post Dec 5 2005, 12:58 PM
Post #5


[+] Graphic Designer [+]
Group Icon

Group: Members
Posts: 614
Joined: 6-April 05
From: Croatia
Member No.: 3,666



QUOTE(Houdini @ Dec 2 2005, 07:21 PM)
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.
*


hmm, not bad idea too, maybe I'll try that, and see what's the best solution. thanks Houdini!
Go to the top of the page
 
+Quote Post
Quatrux
post Dec 5 2005, 07:18 PM
Post #6


the Q
Group Icon

Group: [HOSTED]
Posts: 1,094
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:70.96



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.

CODE


<?php

function 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. wink.gif
Go to the top of the page
 
+Quote Post
Jguy101
post Dec 5 2005, 09:01 PM
Post #7


Premium Member
Group Icon

Group: Members
Posts: 257
Joined: 28-January 05
Member No.: 2,370



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. tongue.gif
Go to the top of the page
 
+Quote Post
finaldesign
post Dec 12 2005, 09:10 AM
Post #8


[+] Graphic Designer [+]
Group Icon

Group: Members
Posts: 614
Joined: 6-April 05
From: Croatia
Member No.: 3,666



Hi,
after lot's of trouble, I sucessfuly implemented CAPTCHA into my guestbook. You can test how it works here
Try it, and post here if you find errors/bugs/etc. thanks all!
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Dec 12 2005, 12:21 PM
Post #9


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



Good man great smile.gif I just saw it. Good one wink.gif Well done.
Go to the top of the page
 
+Quote Post
snutz411
post Dec 23 2005, 02:14 AM
Post #10


Advanced Member
Group Icon

Group: Members
Posts: 105
Joined: 22-December 05
Member No.: 10,229



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.

If you cannot do that, then perhaps you can block IP addresses. Once you get enough spam on your guestbook, you should be able to see repeating IP addresses. So you should be able to block them if your guestbook supports that.

In my own case, I ended up doing both. Adding word verification and blocking IP addresses and I haven't had a problem with spam in the longest time...knock on wood.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Problems With Mozilla Firefox?(6)
  2. Netbux.org : Real Or Fake ? Problems & Flaws(0)
  3. Browser Problems. Web Browser Bugs!(5)
  4. How To Prevent Spammers From Using Your Domain?(9)
  5. Squid Proxy: Port 3128 - Connection Problems(1)
  6. Another Website Experiencing Problems(4)
  7. Live Hotmail Problems ...(7)
  8. Php Problems(1)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 05:48 AM