Changeset 426 for pwntcha/trunk/src


Ignore:
Timestamp:
Jan 5, 2005, 10:16:40 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • clubic captchas support.
Location:
pwntcha/trunk/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/Makefile.am

    r424 r426  
    1010    common.h \
    1111    authimage.c \
     12    clubic.c \
    1213    linuxfr.c \
    1314    phpbb.c \
  • pwntcha/trunk/src/common.h

    r424 r426  
    2323/* available CAPTCHA decoders */
    2424char *decode_authimage(struct image *img);
     25char *decode_clubic(struct image *img);
    2526char *decode_linuxfr(struct image *img);
    2627char *decode_phpbb(struct image *img);
  • pwntcha/trunk/src/main.c

    r424 r426  
    127127        else if(!strcmp(mode, "authimage"))
    128128            result = decode_authimage(img);
     129        else if(!strcmp(mode, "clubic"))
     130            result = decode_clubic(img);
    129131        else if(!strcmp(mode, "linuxfr"))
    130132            result = decode_linuxfr(img);
     
    159161                result = decode_scode(img);
    160162            }
     163            else if(img->height <= 30 && count < 100)
     164            {
     165                dprintf("autodetected clubic captcha\n");
     166                result = decode_clubic(img);
     167            }
    161168            else if(img->height == 69)
    162169            {
Note: See TracChangeset for help on using the changeset viewer.