AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Blocking Abusive Visitors
 
 

Pandorabots automatically reports the visitor’s ISP within the chatlogs via Geobytes.

My bots receive regular visits from a particular person that Geobytes reports as being from Glendale, California.  This is what I’m seeing in my chatlogs, frequently dozens of times per day.

[05/03/2013 05:43:15 AM GMT - 96.47.225.170]
Human: ofoepmwnv/upq.tjuf.mjtu/dpn, Natural viagra alternatives, EqZZJOY, Plantiffs who won their viagra lawsuit in court in 2010, jmhJvvu, http://missoulabedandbreakfast.com/ How does viagra work, tbcUQEp, Levitra, SvkbTUL, Levitra cha, zgrJZwi, http://www.baidims.org/ Levitra ear ring, VaRdkAm, Priligy studies, YktJRyi, Priligi, TpCMHXc, http://priligyhowto.com/ Priligy, qKxiMbk, Dapoxetine reviews, tPlExfg, Is dapoxetine available in, kDrHSbV, http://www.dapoxetineasy.com/ Dapoxetine europe, prmnoKd, Volume Pills, JYAIFoN, Buy volumepills, TPDnKic, http://thomasshepard.org/ Www volumepills, puWKEyE, Semenax in australia, uhYNdwd, Semenax, kkDMUMJ, http://semenax123.com/ Semenax, eXyRvva.

Given that Pandorabots is capturing the report from Geobytes, it seems that there should be a method of blocking future input from this repeat offender… if not by Pandorabots, possibly by individual botmasters.

Any ideas?

 

 
  [ # 1 ]

If the input comes via a web page, you have a couple possible solutions. You could use a redirect (or an Alert) based on the either the geobytes data or by preparsing the form input (similar to form validation).

<!DOCTYPE html>
<
html>
<
head>
<-----
script----->
function validateForm()
{
var x=document.forms["myForm"]["fname"].value;
if ((/(
https?:\/\/)/i).test(x))
  
{
  alert
("Web site links not allowed.");
  return 
false;
  
}
}
</-----script----->
</
head>

<
body>
<
form name="myForm" action="demo_form.asp">
First name: <input type="text" name="fname">
<
input type="submit" value="Submit">
</
form>
</
body>

</
html

Take the dashes out of the “script” tags and change the “action” to the name of your form.
The “document.forms[“myForm”][“fname”].value;” is the name of your input field.
The funky “if” function tests for web links. It could test for what ever you want (maybe the geobytes city name).

 

 
  [ # 2 ]

Thanks, Merlin, I’ll give that a try and report back.

 

 
  login or register to react