Freelosofia

Hacking

Nascondere il pulsante di invio dei commenti in reCAPTCHA per Wordpress

posted by ivanhoe on 05 Jan. 2009, under Hacking

Nonostante i pochissimi commenti su questo blog, data la sua natura (anche) di piattaforma su cui testare varie tecnologie, mi sono posto il problema di allestire un sistema di CAPTCHA per eliminare il potenziale SPAM, le cui periodiche ondate affliggono i vari blog.
Un CAPTCHA è un sistema volto a discernere se chi lo usa è un essere umano o un computer e, per fare questo, solitamente richiede il riconoscimento e la comprensione di un breve testo digitalizzato e “sporcato” artificialmente con l’introduzione di elementi grafici o rumori sovrimpressi al testo stesso. Questi testi sono impossibili da interpretare per un OCR, per cui la loro corretta interpretazione dovrebbe garantire che chi risponde correttamente al quesito è una persona e non un sistema automatico. In realtà esistono vari modi per aggirare un CAPTCHA, alcuni dei quali prevedono lo sfruttamento di ignari utenti umani con tecniche di phishing (o costruendo dei database di CAPTCHA risolti sfruttando l’attrattiva di siti porno) o di utenti umani pagati per lo scopo (naturalmente, non tutti gli spammatori dispongono di risorse economiche per un investimento del genere).
Dovendo scegliere un sistema, ho vagliato le varie alternative e alla fine ho scelto reCAPTCHA.

Un captcha di 6138B ottenuto utilizzando uno sfondo confuso, scritto con font diversi, di colori vari e non allineati

Un captcha di "6138B" ottenuto utilizzando uno sfondo confuso, scritto con font diversi, di colori vari e non allineati

(continue reading…)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Leave a Comment :accessibilità, OCR, reCAPTCHA, SPAM, XHTML more...

64 bit release of Google Gears 0.5.7.0

posted by ivanhoe on 28 Dec. 2008, under FreeSoftware, GNU/Linux, Hacking


Since Google doesn’t seem interested in releasing a 64 bit version of this useful Firefox extension (used in Wordpress, for example, to speed up the administrative section), I checked out the sources from its subversion repository and modified  the code as to be able to build it on a 64 bit architecture with GCC 4.3.

Google Gears license is the New BSD License, so here are the release notes:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
 1. Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.
 3. Neither the name of Google Inc. nor the names of its contributors may be
    used to endorse or promote products derived from this software without
    specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


This said, here is the link to the binary version of Google Gears 0.5.7.0 for x86_64:

http://files.freelosofia.org/gears-x86_64/gears-linux-opt-0.5.7.0.xpi


As soon as I’ll have the time to do it, probably not for this but for the next release, instead of publishing just the binary version I’ll put online even the patch to  apply to Google Gears sources .

Take it as my Christmas gift to you and… have a good download. :-)

Logo di Google Gears
Logo di Google Gears
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
15 Comments :64 bit, bsd license, FreeSoftware, gears, GNU/Linux, google, opensource, subversion, x86 more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...