Jump to content

How to Create InputBox showing Captcha


boshi
 Share

Recommended Posts

Hello,

I am working on my bot to create email. I run my script and will automatically fill in the form with random value. Working good

Now I want to implement a inputbox that will ask for captcha and also show the captcha image with OK button

This is example of captcha image HTML

This is what i do and got error

$captchaimage = _IEGetObjByName($oIE, "iCdHIPRImg")

$captcha = InputBox("Enter Captcha", $captchaimage, "", "*")

$captchaform = _IEGetObjByName($oIE, "iCdHIPBInput0")

_IEFormElementSetValue ($captchaform, $captcha)

Link to comment
Share on other sites

  • Developers

What exactly are you trying here, because there are too many words in your post that raise a RED flag?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

ok

i want to do like this

first you go to sign up page of hotmail

scroll down and you see the captcha.

post-35346-0-93189100-1296156810_thumb.g

i want a popup with inputbox appear on top of other and i can type

the captcha directly and then press ok, the value i enter into the

inputbox will fill the captcha field. example

post-35346-0-85649000-1296156820_thumb.g

Link to comment
Share on other sites

Your screenshot of facebook devil with its circumventing captcha action, will no doubt yield many fine answers. None of which you will appreciate very much.

If you are not attempting to break it and rather just facilitate the input I would find a less damning picture.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Hello,

I am working on my bot to create email. I run my script and will automatically fill in the form with random value. Working good

Now I want to implement a inputbox that will ask for captcha and also show the captcha image with OK button

This is example of captcha image HTML

This is what i do and got error

Sorry if this is a old post, have you got it working? *I am completely new to AutoIt*

The C# Code is

pictureBox1.ImageLocation = webBrowser1.document.GetElementById("iCdHIPRImg").GetAttribute("src");

^^ I made exactly the same thing but in C#

Posted Image

Mine also dumped the account into a txt document :)

Link to comment
Share on other sites

At this point in time, bars are near closing...

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...