|
|||||
Let's talk about CAPTCHA - humans vs. robots/encoding vs. decoding
This is a place to talk about CAPTCHA.
[Encoding] CAPTCHA - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Captcha http://www.captcha.net/ Quote:
http://www.w3.org/2004/Talks/0319-cs.../Overview.html (Highly recommended to read) Inaccessibility of CAPTCHA Alternatives to Visual Turing Tests on the Web W3C Working Group Note 23 November 2005 http://www.w3.org/TR/turingtest/ Spam-bot tests flunk the blind http://news.com.com/2100-1032-1022814.html [Decoding] PWNtcha - captcha decoder http://sam.zoy.org/pwntcha/ Quote:
![]() vBulletin CATCHA is easily decoded by PWNtcha. ![]() Decoding EZ-Gimpy http://www.cs.sfu.ca/~mori/research/...igh_level.html Quote:
http://www.brains-n-brawn.com/defaul...vDir=aicaptcha Breaking CAPTCHAs Without Using OCR *** Through the Session ID http://www.puremango.co.uk/cm_breaking_captcha_115.php Quote:
Quote:
http://blog.tmcnet.com/blog/tom-keat...m-comments.asp |
|
||||
Defeating audio (voice) captchas
Defeating audio (voice) captchas
For more details, refer to Jochem van der Vorm - captchas SecuriTeam - Defeating Voice Captchas Source code: http://vorm.net/downloads/devoicecaptcha.c Quote:
|
|
||||
How to decode del.icio.us's captcha
http://most3.blogspot.com/2007/05/ho...s-captcha.html
How to decode del.icio.us's captcha Quote:
Code:
1. <?php
2. /* @author tiekil@gmail.com */
3. class Code {
4. protected $_srcFile;
5. public function __construct($file) {
6. $this->_srcFile = $file;
7. }
8.
9. public function filter() {
10. $size = getimagesize($this->_srcFile);
11. $im = imagecreatefrompng($this->_srcFile);
12. imagejpeg($im, $this->_srcFile . '.jpg', 100); //convert the png to jpeg
13. $im = imagecreatefromjpeg($this->_srcFile . '.jpg');
14. for($x=0;$x<$size[0];$x++) {
15. for($y=0;$y<$size[1];$y++) {
16. $rgb = imagecolorat($im,$x,$y);
17. $r = ($rgb >> 16) & 0xFF;
18. if ($r > 100) { // set the light color to white
19. $rgb = imagecolorallocate($im, 255, 255, 255);
20. } else { //javascript:void(0)
21. Publish Post set the dark color to black
22. $rgb = imagecolorallocate($im, 0, 0, 0);
23. }
24. imagesetpixel($im, $x, $y, $rgb);
25.
26. # remove the "Z" block
27. // x-1, y-1 black
28. $rgb = imagecolorat($im,$x-1,$y-1);
29. $r1 = ($rgb >> 16) & 0xFF;
30. // x-1, y white
31. $rgb = @imagecolorat($im,$x-1,$y);
32. $r2 = ($rgb >> 16) & 0xFF;
33. // x, y-1 white
34. $rgb = @imagecolorat($im,$x,$y-1);
35. $r3 = ($rgb >> 16) & 0xFF;
36. if (($r3 == 255) && ($r2 == 255) && ($r1 == 0)) {
37. $rgb = imagecolorallocate($im, 255, 255, 255);
38. if ($rgb) {
39. imagesetpixel($im, $x-1, $y-1, $rgb);
40. }
41. }
42. }
43. }
44. # remove others
45. for($x=0;$x<$size[0];$x++) {
46. for($y=0;$y<$size[1];$y++) {
47. $rgb = imagecolorat($im,$x,$y);
48. $r = ($rgb >> 16) & 0xFF;
49. $rgb = imagecolorat($im,$x-1,$y);
50. $r2 = ($rgb >> 16) & 0xFF;
51. $rgb = imagecolorat($im,$x+1,$y);
52. $r3 = ($rgb >> 16) & 0xFF;
53. $rgb = imagecolorat($im,$x,$y-1);
54. $r4 = ($rgb >> 16) & 0xFF;
55. $rgb = imagecolorat($im,$x,$y+1);
56. $r5 = ($rgb >> 16) & 0xFF;
57. # clean dot
58. if (($r == 0) && ($r2 == 255) && ($r3 == 255) && ($r4 == 255)
59. && ($r5 == 255)) {
60. $rgb = imagecolorallocate($im, 255,255,255);
61. imagesetpixel($im, $x, $y, $rgb);
62. }
63. # clean bottom border
64. if (($y == $size[1]-1) && ($r == 0) && ($r2 == 255) && ($r3 == 255)
65. && ($r4 == 255)) {
66. $rgb = imagecolorallocate($im, 255,255,255);
67. imagesetpixel($im, $x, $y, $rgb);
68. }
69. # clean right border
70. if (($x == $size[0]-1) && ($r == 0) && ($r2 == 255) && ($r4 == 255)
71. && ($r5 == 255)) {
72. $rgb = imagecolorallocate($im, 255,255,255);
73. imagesetpixel($im, $x, $y, $rgb);
74. }
75. }
76. }
77. imagejpeg($im, $this->_srcFile . '.new.jpg',100);
78. }
79. }
80.
81. # demo
82. $code = new Code('1986312480.png');
83. $code->filter();
84. ?>
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Grow : Talk to the nature. | SiauKia | Websites Review and Suggestion | 0 | 11-04-2007 02:40 PM |
| Google Talk: New Instant Messenger | kahsoon | Mamak Stall | 2 | 28-08-2005 01:12 AM |
| Robots.txt | masrule | Other Internet Marketing Methods | 4 | 09-06-2005 06:18 PM |
| link exchange: www.forum-talk.com | sportstoto3368 | Other Internet Marketing Methods | 0 | 05-07-2004 08:39 AM |
| Cool : www.Forum-Talk.com | sportstoto3368 | Websites Review and Suggestion | 0 | 27-06-2004 11:56 AM |
All times are GMT +8. The time now is 12:51 PM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.











Linear Mode

