Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solution to Minimize Bots
#1
! 
I got bored and decided to help out...somehow
...noticing there was a bot banned i decided to look it up...

Bots fill in all the text fields on the sign-up sheet, right?
since they fill in all parts of the form...
a good way of detecting whether or not a bot has subscribed is to add a dummy text field to the form and hide it from general view using CSS...
The Dummy Text is supposed to be filled out by the Bot and not the reader...
you then just check to see if there is any content in the hidden field....
If there is then ya, it's most likely a bot...

idk if this will help but i found a Dummy Text Generator: click here

The only problem is that if a visitor uses text only browsers...
they can see the fake field, you need to make sure they do not fill it in.
The best way to do this is to use the alt attribute of the image to tell the user not to fill it in.

The form field - It is called 'check'
Code:
<p id='checkfield'>
<input id='check' name='check' type='text' size='20' />
<label for='check'><img src='whatever.gif' alt='Do Not Fill This Field In' /></label>
</p>

The CSS used to hide the field:
Code:
p#checkfield{
  position: absolute;
  left:-2000px;
}

If you don't believe me check my reference...
Source: click here
A sequence of variables thatre engraved since the beginning of the cosmos is responsible for animating things in reality
Reply
Thanks given by: MH-Razen
#2
thanks for your researches, but I`m a bit sceptic - all I see is the html-code for a input-box with "decorations" and the css-code to hide it, but no php-stuff? how whouls this still work? I`m confused...

Will still try it out when I got a bit more time.
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
If Im not mistaken that code wasnt meant for MyBB only but for pretty much any system.
Thus you will need to edit the PHP code yourself.

Would be something like:
    PHP-Code:
if($_POST['check'] != ''){
//some code to block registering maybe also log the ip or block it
}else{
//the original register code here
}
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by: LutiChris
#4
someone else, are you versed in php? I could send you the register.php and you can give it a try ...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#5
Implemented.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: forgetlatios , LutiChris
#6
glad to be of service...
im sorry i could not find a php version, i was just looking for a general solution to the problem...
hope it helps in the future... ;)
A sequence of variables thatre engraved since the beginning of the cosmos is responsible for animating things in reality
Reply
Thanks given by:
#7
(06-15-2010, 11:33 AM)LutiChris Wrote:  glad to be of service...
im sorry i could not find a php version, i was just looking for a general solution to the problem...
hope it helps in the future... ;)

Don't worry, I myself have started to pick up on PHP; and it starts to become useful :P
We will see how effective this will be...
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#8
(06-15-2010, 10:19 AM)Blue Phoenix Wrote:  Implemented.

erm, i hope you tested that the registrations for humans still work...!?
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#9
i checked, i think it works cuz i don't see it....
but tht doesn't mean tht it still works once u register...
so i can only confirm tht it's not seen by the general public...
A sequence of variables thatre engraved since the beginning of the cosmos is responsible for animating things in reality
Reply
Thanks given by:
#10
(06-15-2010, 02:10 PM)MH-Razen Wrote:  
(06-15-2010, 10:19 AM)Blue Phoenix Wrote:  Implemented.

erm, i hope you tested that the registrations for humans still work...!?

I permanently disabled the registration for humans, thus making this a closed community to help the community spirit grow :)

This was OBVIOUSLY a joke. Thingy works flawlessly.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Bamboori




Users browsing this thread: 1 Guest(s)