Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will a spam bot be able to submit a form if there is no submit button on the page?

Tags:

jquery

Just wondered if anyone knows if a spam bot will be able to submit a form if there is no submit button on the page. Just trying to do some very basic spam prevention without using CAPTCHA. The thought is to use jQuery to render the submit button if the user interacts with the form in some way. Any thoughts would be appreciated.

like image 499
Mike Muller Avatar asked Apr 04 '11 20:04

Mike Muller


1 Answers

A spambot that consists of a code wrapper around WebKit or some other browser core can just force the DOM "submit()" to be run, or (even more radical) just launch a POST transaction of its own.

It's best to think of a spambot as a massively powerful evil robot with a browser that follows no rules attached by atomic energy beams to its robot brain. But it's a robot that can't read very well.

like image 121
Pointy Avatar answered Nov 15 '22 21:11

Pointy