[Tutor] Textual Captchas: Would like to show that bots can crack a simple text captcha

Kyle Brooks anotequaltob at gmail.com
Wed Aug 1 16:54:10 CEST 2007


Hi.
I am not a spammer! I just want to demonstrate something :-)

Thanks for the resources! You guys are great :-)

- Kyle

On 8/1/07, Kent Johnson <kent37 at tds.net> wrote:
> Kyle Brooks wrote:
> > Hi.
> >
> > Please look up captcha... I did not mean capture.
> >
> > Your response is hilarious, frankly, but not appropriate for this list :-)
>
> Oh, all of a sudden we are not allowed to go OT or have fun here? Who
> died and made you the moderator? ;-)
>
> A bit more on track to actually answering your question...
>
> ISTM making your own web site with a text captcha and then cracking it
> is not a very impressive demonstration.
>
> Hoping that you are not actually a spammer looking for help on cracking
> sites with text captchas, I'll point you to
>
> urllib2 - to fetch the content of a web page
> http://docs.python.org/lib/module-urllib2.html
>
> BeautifulSoup - to parse the content of a web page
> http://www.crummy.com/software/BeautifulSoup/documentation.html
>
> eval() - to evaluate expressions
> http://docs.python.org/lib/built-in-funcs.html#l2h-25
>
> safe eval - so eval can't erase your hard disk
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/364469
>
> Kent
>


More information about the Tutor mailing list