Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-09-2006, 06:19 AM   #1
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
How do you prevent spamming through a form?

I built a simple guestbook script and recently it's been getting hit pretty hard by poker spammers with all kinds of various crap... over 200 submissions in 2 days.

The question is, what's a good way to prevent that without limiting genuine guestbook submissions?

And no, I don't want to go with image verification because it's just a guestbook for every day people. I don't want to make it a chore for them.

I checked the referrer and it is coming from my own site, so it's not an off the site submission. Someone must have built a spammer that submits the actual form on the page.. so I can't just check for the referrer
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 06:29 AM   #2
NdO
Confirmed User
 
Join Date: Jun 2006
Location: NL
Posts: 336
You could try to block them based on their ip's. Another option is a blacklist. (With urls / poker / pharmecy words etc.)
NdO is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 06:30 AM   #3
scottybuzz
Too lazy to set a custom title
 
scottybuzz's Avatar
 
Industry Role:
Join Date: May 2006
Location: NY
Posts: 14,799
yeh goodluck for you,
scottybuzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 06:44 AM   #4
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by NdO
You could try to block them based on their ip's. Another option is a blacklist. (With urls / poker / pharmecy words etc.)
different IP for each submission, I thought of that myself...

It's looking more and more like I'll have to go the "keyword" route, and try to keep on top of things that can't be submitted. That's going to suck though.

Especially since this seems to be affiliate type crap, which means getting some messed up urls such as online-poker-games . halpinos.com/ and internetpoker2.tblog . com/
(urls broken cause I don't want to send them any more traffic than they already get)

Last edited by StuartD; 07-09-2006 at 06:45 AM..
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 06:47 AM   #5
EdgeXXX
Confirmed User
 
EdgeXXX's Avatar
 
Join Date: Nov 2005
Location: Secretely plotting a hostile takeover
Posts: 5,816
Tough to do without "making it a chore" for the legitimate people. What about screening for (filtering) certain keywords like poker, join, etc.?
__________________
.
.
.
.

I have a sig
EdgeXXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 06:50 AM   #6
MaddCaz
Confirmed User
 
Join Date: Mar 2006
Location: Illinois
Posts: 9,483
Quote:
Originally Posted by EdgeXXX
Tough to do without "making it a chore" for the legitimate people. What about screening for (filtering) certain keywords like poker, join, etc.?
MaddCaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:00 AM   #7
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
Single letter verification would be ok on a small site...."Press '$randomletter' to post your comment" instead of a submit button for example.

Nobody is going to bother writing a script to post on a single small site - it would just go into the 'not worth it' file.

On a larger site where it would be worth the time and effort then I am out of ideas.
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:08 AM   #8
SMG
Confirmed User
 
Join Date: Aug 2003
Posts: 1,798
there are a few ways to do it from the ip things to other tricks that keep out most automated submissions ... if it's a php script, I can talk with you about hardening the script a bit to stop the spammers, just hit me up on icq 6354 0110
__________________
TGP Webmasters: sign up for the top 100 tgp list!
Submit galleries
If you add me to icq (title) make sure to mention GFY or I'll think you're a bot and deny you.
SMG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:17 AM   #9
everestcash
Confirmed User
 
Join Date: Apr 2002
Posts: 2,194
got the same problem - with regbots on my dating forum & my blogs ((
on blogs i simply suspend posts with urls in them
on board i use visual code, email confirmation & ban spammers email periodicaly - but it doesn't help much ((
everestcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:19 AM   #10
everestcash
Confirmed User
 
Join Date: Apr 2002
Posts: 2,194
Quote:
Originally Posted by damian2001
Single letter verification would be ok on a small site...."Press '$randomletter' to post your comment" instead of a submit button for example.
sounds interesting
will try it )
thanks
everestcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:25 AM   #11
EdgeXXX
Confirmed User
 
EdgeXXX's Avatar
 
Join Date: Nov 2005
Location: Secretely plotting a hostile takeover
Posts: 5,816
Quote:
Originally Posted by damian2001
Single letter verification would be ok on a small site...."Press '$randomletter' to post your comment" instead of a submit button for example.

Nobody is going to bother writing a script to post on a single small site - it would just go into the 'not worth it' file.

On a larger site where it would be worth the time and effort then I am out of ideas.
This is a good idea and I like it. The only problem is that everyone is assuming that these are automated spams, which they may be, but what if it is just someone that is manually pasting the spam? If this were the case, they would have no problem clicking buttons or even verifying images. But like I said, I love your idea as an added measure of security.
__________________
.
.
.
.

I have a sig
EdgeXXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 07:35 AM   #12
smutx
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: interwebs
Posts: 1,190
Quote:
Originally Posted by StuartD
I built a simple guestbook script and recently it's been getting hit pretty hard by poker spammers with all kinds of various crap... over 200 submissions in 2 days.

The question is, what's a good way to prevent that without limiting genuine guestbook submissions?

And no, I don't want to go with image verification because it's just a guestbook for every day people. I don't want to make it a chore for them.

I checked the referrer and it is coming from my own site, so it's not an off the site submission. Someone must have built a spammer that submits the actual form on the page.. so I can't just check for the referrer
try renaming the input feilds to something different.. like someone eles said no one really targets a site, its done on a mass level is it should do the trick
__________________

icq: 236148465
smutx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 11:38 AM   #13
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,504
Another idea involves making use of javascript. Basically, encode the html into a cryptic javascript such that bots can't parse the parameters out of the form. This does of course mean only javascript enabled users can use the form though.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:01 PM   #14
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by WiredGuy
Another idea involves making use of javascript. Basically, encode the html into a cryptic javascript such that bots can't parse the parameters out of the form. This does of course mean only javascript enabled users can use the form though.
WG
Hmm... that's certainly a thought... that would be a good way to prevent spammers from mass submitting.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:04 PM   #15
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,504
Quote:
Originally Posted by StuartD
Hmm... that's certainly a thought... that would be a good way to prevent spammers from mass submitting.
Ideally the OCR will probably stop the most spam and should work for most users. Javascript encryption would mean a small percentage of users will be unable to use it but should stop spammers as well. To me, I'd prefer the OCR with a simple 2-3 character recognition, that should hopefully not inconvenience the surfers too much.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:05 PM   #16
CamsLord
Confirmed User
 
Join Date: Jun 2006
Posts: 3,663
yea ocr images will fix that
__________________
sig for sale - pornpicz(at)gmail.com
CamsLord is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:06 PM   #17
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,481
i find image verify works best. anything without that on any kind of form is just silly.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:06 PM   #18
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,504
Another suggestion I also wanted to make was based on a simple question any human can answer, thereby making a simple password verification type deal. For example, instead of asking for an OCR just ask a simple question like what color is the sky? Bots will have no idea and leave this query blank, humans will just enter blue and get right through.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 12:15 PM   #19
line
Registered User
 
Join Date: Jul 2002
Posts: 63
Wow, after seeing these suggestions I can see why spam is so pervasive.
__________________
[whore yourself here]
line is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2006, 01:36 PM   #20
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
add this to your form <input type=hidden name=botcheck value=nobot>

then in the php script put this as your first line

if ($botcheck == "nobot") { } else {

$url = "SPAM"

}


where $url would be one of the items in your form like an url that will then get turned blank if the hidden input isn't present.

This isnt a great solution , but this will prevent most box-automated type submissions.

Just change the "botcheck" to something different every so often ( on both the form and the script )
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 06:24 AM   #21
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Some great suggestions. Thanks everyone
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 07:48 AM   #22
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
turing image.
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.