Tamilselvan wrote: ↑Thu Nov 05, 2020 4:13 pm
Code: Select all
Firefox 52.9.0 (32-bit)
iMacros 8.9.7
Win-10 (64-bit)
Hi,
I am trying to Login page but struggled in Captcha / Security Code. I can only extracted Captcha / Security as image but not text. I request anyone to help.
Code: Select all
URL GOTO=http://nregade4.nic.in/netnrega/MGNREGA_new/Nrega_Login.aspx?salogin=Y&state_code=25
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddl_FinYr CONTENT=%2020
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_txt_UserID CONTENT=29720579357
'Type Password
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_txt_PW CONTENT=
PAUSE
TAG POS=1 TYPE=IMG ATTR=SRC:http://nregade4.nic.in/netnrega/CaptchaImage/JpegImage.aspx CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT
PAUSE
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_txt_Captcha CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_Button1
Login-Extracted Text.jpg
Thanks & Regards,
S. Tamilselvan.
Woaw..., I'm "nearly impressed", you've finally managed to open a Thread in the "correct" Sub-Forum, very good...!
But hum, your "I request anyone to help." sounds/feels very "commanding", foufff...!
Maybe that's "the Way" People "communicate" in India when addressing People from a "lower" Caste, but this doesn't really work on a Tech Forum where all Users are "Equal"... Nobody is "at your Service", ah-ah...!
And hum, you didn't follow up on your
previous Thread, apart from bumping the
even previous one, while I had
"requested" you to report those 2 Threads to the Forum Admin to ask them to move those 2 Threads from the 'iMacros for FF' Sub-Forum to their "correct" Sub-Forum, but you didn't do anything...
Not following up on their Threads and/or not reacting to my Qt's/Suggs/Remarks is usually a Show-Stopper for me to help Users (again)...
I hope you'll do "a bit better" in this one...
>>>
OK, well, concerning this one..., yeah well, "I can only extracted Captcha / Security as image but not text.", that's "a little bit" the Purpose of Captcha, ah-ah...! No Wonder then...
=> You need to use some Anti-Captcha/Captcha-Solving Service if you want to automate that part and integrate it in your iMacros Script, you have a Dedicated Thread on the Forum:
-
OFFICIAL (Anti-)Captcha Providers Thread.
The one called "9kw" is run by Advanced User on the Forum @thecoder2012 who's pretty Advanced in iMacros (same Level like me, and even much more Advanced than me, when JS is involved...), and who's usually quite responsive...
Or you'd need to use some OCR Solution, either Locally through the Command Line, or from some Online Website...
But hum, some "new" Service/Site ("
True Captcha") got added to that Captcha Thread a bit recently, (at
the end of the Thread, I haven't included it yet in the previous Posts I maintain in that Thread), using AI, I had not tried it yet, so I just gave it a go with the Captcha from your Site, and hum, that could maybe be an option for you..., but the Site/Tool only works with Capital Letters and Numbers.
=> I got a "
98Bi90" in my (one and only) Test and the
Demo read it as "
98BI90", thus converting the Lowercase "
i" to an Uppercase "
I". Hum...! Not quite perfect...!
Depending on how the Captchas get generated, and which Chars/Combinations regularly come back, if you always "only" get 2 Letters in a 6-Char String, then you have 25% Chance of getting the "correct" one from this Tool, which can maybe be increased to 50%, if there is always 1 Upper + 1 Lower Char, and maybe if you are "lucky", the Lowercase Char is maybe always in the 2nd Position... Or maybe the Site allows to submit x2 or x4 the same Captcha... I don't know, you would need to "test" yourself...
(I didn't run more Tests, I don't want to "burn" my IP...
)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...