Capturing a "captcha generator" image

I work for a company that does online marketing.

One of the things we do is submit our clients to various web directories.

Part of what we do is pull-in a web page and attempt to determine which image is the captcha image (anti-spam text).

One type of image that is particularly resistant to this process is what I call a "captcha generator" where the image that is displayed to the user is based upon a hash.  

For example, if I go to a directory submission page that is using such a process for captchas, I can see the image.  But if I copy the path to the image and try and see the image that way, I get a message saying "Could not fetch image phrase!!" or some such:

http://www.ewebsitedirectory.com/captcha.php?imagehash=a5fc3421383f09194dc967033da2bc20

But, if you go to the actual submission page, the captcha works:

http://www.ewebsitedirectory.com/submit.php


This is not a problem.  I mean, we are not trying to automatically defeat the captcha -- just capture an image which is representative of the captcha image to display to the end-user who is processing the page.


Since I cannot visit the image directly, since the only way to see it is on the submission page  (after it has rendered) -- my question is -- is there a way to capture the captcha image on the submission page somehow...perhaps by catching the image as it comes in as an HTTP response, or by some form of screen scraping?  But I need sample source code ... particularly for captcha images that use a hash like the above example.


Again - this is not so that we can defeat the captcha image via OCR.  It is just so that we can present the image to the end-user for selection.  It need not even be the image that loads with the page originally.  It could be an image from a page refresh if need be.

This would be happening on an ASP .NET page.


Thank you,


Tom
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
Hi knowlton,
There are a lot of captcha control that available to download in internet nowaday. Perhaps you can evaluate this captcha control based on the the application. This control is using GID and it similiar with what you're looking. It's working fine for my various managed projects. I hope it will be useful for you too:

Download source with description included:
http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.