Post Reply 
Bfilter remove captcha frame...
Sep. 06, 2008, 06:54 PM
Post: #1
Bfilter remove captcha frame...
Hi peoples!


I install Bfilter, and insert rule from AdBlock, as write on http://www.convoglio.com/bfilter/.

After this manipulation, my files contain

/etc/bfilter/urls -> http://www.reactos.org/paste/index.php/1830/
/etc/bfilter/urls.local -> http://www.reactos.org/paste/index.php/1831/
/etc/bfilter/filters/Common annoyances filter -> http://www.reactos.org/paste/index.php/1833/
/etc/bfilter/filters/PopUp filter -> http://www.reactos.org/paste/index.php/1834/

All work fine, adv removing. But after some time using, i find trouble. The Bfilter remove captcha area from recaptcha.net.

Example, in direct connect, page HTML code is

Code:
<tr>
<td class="l">Protect code:&nbsp;</td>
<td><script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LePWQIAAAAAAEPgACyC-FPPrYGItib7GVA4z4pk...;
<noscript>
<iframe src="http://api.recaptcha.net/noscript?k=6LePWQIAAAAAAEPgACyC-FPPrYGItib7GVA4z4pk&...; height="300" width="500" frameborder="0"></iframe><br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</noscript>
</td>
</tr>

But if connect from bfilter, page HTML code change to

Code:
<tr>
<td class="l">Protect code:&nbsp;</td>
<td><!-- [BFilter] Script removed [ad or webbug in the adjacent noscript]. -->
<span>
<!-- [BFilter] IFRAME ad removed (page_cleanup is in effect) --><br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</span>
</td>
</tr>

(sample url http://protos.dk/2007/11/17/recaptcha-for-wordpress/)

I search in all configfile the strings "captcha", "[BFilter] Script removed [ad or webbug in the adjacent noscript]", "[BFilter] IFRAME ad removed (page_cleanup is in effect)", but this string not found.

I try append rule to urls.local
Code:
ALLOW http://*recaptcha.net*
but captcha still removing.


Questions:

Where is finding a rule, that remove this captcha?
What writing to bfilter configfiles for don't block this captcha?
Add Thank You Quote this message in a reply
Sep. 06, 2008, 07:17 PM
Post: #2
RE: Bfilter remove captcha frame...
(Sep. 06, 2008 06:54 PM)xintrea Wrote:  Where is finding a rule, that remove this captcha?
It's a heuristic rule for dealing with iframes, and probably it's too strict. It should be changed, but I lost my interest in developing BFilter, so I am not going to do it, sorry.

(Sep. 06, 2008 06:54 PM)xintrea Wrote:  What writing to bfilter configfiles for don't block this captcha?
I am not sure why ALLOW doesn't help, but a negative hint does:
Code:
-10 */api.recaptcha.net/*
Add Thank You Quote this message in a reply
Sep. 06, 2008, 08:05 PM
Post: #3
RE: Bfilter remove captcha frame...
(Sep. 06, 2008 07:17 PM)jart Wrote:  
(Sep. 06, 2008 06:54 PM)xintrea Wrote:  Where is finding a rule, that remove this captcha?
It's a heuristic rule for dealing with iframes, and probably it's too strict. It should be changed, but I lost my interest in developing BFilter, so I am not going to do it, sorry.

Please, add a bit of text to your documentation at page http://bfilter.sourceforge.net/doc/url-patterns.php, may be

"If you see in HTML source string

<!-- [BFilter] Script removed [ad or webbug in the adjacent noscript]. -->
or
<!-- [BFilter] IFRAME ad removed (page_cleanup is in effect) -->

note that this string replaced content, removed by heuristic rule. For disable remove script/frame content from target URL, try append rule to urls ?r urls.local

Code:
-10 Url_mask

This rule reduce "suspicion" to content from target url, and script/frame code don't changed."

(sorry my english)

(Sep. 06, 2008 07:17 PM)jart Wrote:  
(Sep. 06, 2008 06:54 PM)xintrea Wrote:  What writing to bfilter configfiles for don't block this captcha?
I am not sure why ALLOW doesn't help, but a negative hint does:
Code:
-10 */api.recaptcha.net/*

Thanks, this is worked.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: