Changeset 456


Ignore:
Timestamp:
Jan 12, 2005, 4:42:08 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Paypal decoder. 64% efficiency.
Location:
pwntcha/trunk
Files:
3 added
3 edited

Legend:

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

    r448 r456  
    1111    clubic.c \
    1212    linuxfr.c \
     13    paypal.c \
    1314    phpbb.c \
    1415    scode.c \
  • pwntcha/trunk/src/common.h

    r448 r456  
    4242char *decode_clubic(struct image *img);
    4343char *decode_linuxfr(struct image *img);
     44char *decode_paypal(struct image *img);
    4445char *decode_phpbb(struct image *img);
    4546char *decode_scode(struct image *img);
  • pwntcha/trunk/src/main.c

    r453 r456  
    139139        else if(!strcmp(mode, "linuxfr"))
    140140            result = decode_linuxfr(img);
     141        else if(!strcmp(mode, "paypal"))
     142            result = decode_paypal(img);
    141143        else if(!strcmp(mode, "phpbb"))
    142144            result = decode_phpbb(img);
     
    161163                result = decode_linuxfr(img);
    162164            }
     165            else if(img->width == 208 && img->height == 26)
     166            {
     167                dprintf("autodetected Paypal captcha\n");
     168                result = decode_paypal(img);
     169            }
    163170            else if(img->width == 320 && img->height == 50)
    164171            {
Note: See TracChangeset for help on using the changeset viewer.