2 of 2
2
Invisible CAPTCHA
Posted: 10 February 2010 02:29 PM   [ Ignore ]   [ # 19 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1433
Joined  03-05-2008

yeah my tests show very different values held in the captcha table in the database to that displayed on the form - so i am guessing something i going wrong in the middle -

I don;t have time to debug now - maybe another time.

 Signature 

ModeTen Designs - @ModeTen - Stock Photos & Vectors

Profile
 
 
Posted: 02 March 2010 05:35 PM   [ Ignore ]   [ # 20 ]  
Grad Student
Avatar
Rank
Total Posts:  45
Joined  02-10-2008

I am getting a javascript syntax error on the js that the extension generates.  Is anyone else experiencing this issue?

//<![CDATA[
var _51=function(_16_87_138){this._138=_138||"captcha";this._16=_16;this._87=_87;this._38();this._43();};_51.prototype={_138:null,_16:null,_87:null,_38:function(){var _106=document.getElementById(this._138+"-container");if(_106)},_43:function(){var _188=document.getElementById(this._138);if(_188){_188.value=((this._16.charCodeAt(0)-70)+(this._87.charCodeAt(0)-110));}}};function _51(){new _51("G","u","");}var _48=window.onload;if(typeof window.onload!="function")else{window.onload=function(){_48();_51();}}
//]]> 
Profile
 
 
Posted: 26 March 2010 01:02 PM   [ Ignore ]   [ # 21 ]  
Lab Assistant
RankRank
Total Posts:  286
Joined  02-25-2006

Will this extension work with the Freeform module?

thanks!

Profile
 
 
Posted: 04 May 2010 08:07 AM   [ Ignore ]   [ # 22 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  02-20-2008

Hi,

just for info, it seems that it’s not compatible with PHP 5.3.

Severity8192
Message
Assigning the return value of new by reference is deprecated
Filename
extensions/ext.invisible_captcha.php
Line Number
85 

I corrected it by removing the byref assignment.

Profile
 
 
Posted: 10 May 2010 12:04 PM   [ Ignore ]   [ # 23 ]  
Grad Student
Avatar
Rank
Total Posts:  74
Joined  09-23-2006

OK. I’ve read through this all and found no answer to my question, which is very simply: “What am I missing?” If there’s a CAPTCHA that is both invisible AND answers itself, how does that stop spammy registrations (I’m using it for registrations)??

What am I missing? Is the theory that a spambot doesn’t *have* javascript and therefore gets halted? If so, what about the low-tech spammer who actually visits your site? He gets through?

In the words of Ricky Riccardo - can someone please ‘splain this to me?

Profile
 
 
Posted: 13 May 2010 12:34 PM   [ Ignore ]   [ # 24 ]  
Summer Student
Total Posts:  2
Joined  01-06-2009

Thanks for this extension, It’s perfect for my needs. Only problem is that about 1 in ~200 page loads, I see a collision between the random numbers it generates and the packed js function names, for example:

//<![CDATA[
var _76=function(_0_59_170){this._170=_170||"captcha";this._0=_0;this._59=_59;this._170();this._173();};_76.prototype={_170:null,_0:null,_59:null,_170:function(){var _2=document.getElementById(this._170+"-container");if(_2){_2.style.display="none"}},_173:function(){var _55=document.getElementById(this._170);if(_55){_55.value=((this._0.charCodeAt(0)-65)+(this._59.charCodeAt(0)-111));}}};function _83(){new _76("B","x","");}var _124=window.onload;if(typeof window.onload!="function"){window.onload=_83}else{window.onload=function(){_124();_83();}}
//]]> 

Any thoughts on a workaround for this? I’m unfamiliar with jsPack.

Profile
 
 
Posted: 13 May 2010 01:12 PM   [ Ignore ]   [ # 25 ]  
Summer Student
Total Posts:  2
Joined  01-06-2009

Haven’t taken a close look at this jsPack class yet, but it looks like there might be a typo in _encodePrivate():

// special _chars
    
function _encodePrivate($charCode{
        
static $store = array();

        while (
true{
            
// randomize the code some
            
$code mt_rand(0199);

            if (!isset(
$static[$code])) {
                $static[$code] 
true;
                break;
            
}
        }

        
return "_" $code;
    

Shouldn’t those two references to $static[$code] instead be $store[$code] ?

Profile
 
 
   
2 of 2
2