- Timestamp:
- Jan 4, 2005, 1:08:56 PM (18 years ago)
- Location:
- pwntcha/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pwntcha/trunk/src/main.c
r402 r408 135 135 if(img->width == 320 && img->height == 50) 136 136 { 137 dprintf("autodetect ingphpBB captcha\n");137 dprintf("autodetected phpBB captcha\n"); 138 138 result = decode_phpbb(img); 139 139 } … … 141 141 && count < 10) 142 142 { 143 dprintf("autodetect ingscode captcha\n");143 dprintf("autodetected scode captcha\n"); 144 144 result = decode_scode(img); 145 145 } 146 146 else if(img->height == 69) 147 147 { 148 dprintf("autodetect ingslashdot captcha\n");148 dprintf("autodetected slashdot captcha\n"); 149 149 result = decode_slashdot(img); 150 150 } -
pwntcha/trunk/src/phpbb.c
r394 r408 38 38 /* phpBB captchas have 6 characters */ 39 39 result = malloc(7 * sizeof(char)); 40 strcpy(result, " "); 40 41 41 42 if(!font) … … 58 59 setpixel(tmp3, x, y, 255, g, 255); 59 60 } 60 61 strcpy(result, " ");62 61 63 62 for(cur = 0; cur < 6; cur++) -
pwntcha/trunk/src/slashdot.c
r400 r408 46 46 /* Slashdot captchas have 7 characters */ 47 47 result = malloc(8 * sizeof(char)); 48 strcpy(result, " "); 48 49 49 50 /* Clean image a bit */ … … 256 257 setpixel(dst, x, y, 255, g, 255); 257 258 } 258 259 strcpy(result, " ");260 259 261 260 for(x = 0; x < font->width; x++)
Note: See TracChangeset
for help on using the changeset viewer.