Jump to content



Photo

Captcha Problem


  • Please log in to reply
11 replies to this topic

#1 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 19 June 2017 - 04:27 AM

How to solve this kind of captcha?

 

when i choose the captcha element then i get like this: 

<src="data:image/png;base64,iRBY1xWCdw9EjGwY2DHJAZ2DOwY2DGJgf0iyT915Kb+5+5QxgAAAABJRU5ErkJggg==">

then if i reload the image then i get another captcha element :/ 

 



#2 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2281 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 19 June 2017 - 08:57 AM

You would probably have to scrape the base64 code and then save it as an image, if you search for the File Management Plugin this can do that for you. Then you probably need to use one of the captcha plugins (search for Advanced Catpcha) to send that file out and get a response back to solve.


eLBF9bO.png s7pbT0S.png


#3 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 21 June 2017 - 02:06 AM

You would probably have to scrape the base64 code and then save it as an image, if you search for the File Management Plugin this can do that for you. Then you probably need to use one of the captcha plugins (search for Advanced Catpcha) to send that file out and get a response back to solve.

Yea but how to scrape base64 code? which scrape uses elements & the base64 is different every time you reload :) sorry for ungrammatical 



#4 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 21 June 2017 - 02:44 AM

You would probably have to scrape the base64 code and then save it as an image, if you search for the File Management Plugin this can do that for you. Then you probably need to use one of the captcha plugins (search for Advanced Catpcha) to send that file out and get a response back to solve.

Anyway i want to solve the captcha manually



#5 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2281 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 21 June 2017 - 10:37 AM

If you want to solve it manually use the prompt function and have it type the text into the textbox to solve the captcha. You can just look to see the capthca and so no need to save the image.


eLBF9bO.png s7pbT0S.png


#6 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 22 June 2017 - 02:26 AM

If you want to solve it manually use the prompt function and have it type the text into the textbox to solve the captcha. You can just look to see the capthca and so no need to save the image.

i will compile this with no browser only UI 



#7 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2281 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 22 June 2017 - 09:28 AM

i will compile this with no browser only UI 

 

You will have to save the image then and you can still use the prompt function to type in the answer or just type it into the GUI or something.


eLBF9bO.png s7pbT0S.png


#8 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 23 June 2017 - 03:25 AM

You will have to save the image then and you can still use the prompt function to type in the answer or just type it into the GUI or something.

If i will convert base64 to image then i need to scrape the base64  

i can't save base64 image since its a captcha the base64 is random each you reload the site.



#9 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2281 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 23 June 2017 - 10:40 AM

If i will convert base64 to image then i need to scrape the base64  

i can't save base64 image since its a captcha the base64 is random each you reload the site.

 

If you can see it you can scrape it. You may want to provide the site where you see this if you can that is and maybe somebody can take a look at it.


eLBF9bO.png s7pbT0S.png


#10 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 23 June 2017 - 06:10 PM

If you can see it you can scrape it. You may want to provide the site where you see this if you can that is and maybe somebody can take a look at it.

set(#base64,$scrape attribute($element offset(<tagname="td">,28),"innerhtml"),"Global")
plugin command("File Management.dll""base64 to image"#base64"Jpeg""{$special folder("Desktop")}\\ew.png")
type text($element offset(<email field>,0),#base64,"Standard")

 

if i set it to innerhtml i will get <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF6FGnkf7G6fru4ZcoPwIAAAAAElFTkSuQmCC" width="91" height="24"></td> 

how to remove width=91 & height? i want to only get : data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF6FGnkf7G6fru4ZcoPwIAAAAAElFTkSuQmCC

 


Edited by kentsisi, 23 June 2017 - 06:11 PM.


#11 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2281 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 24 June 2017 - 11:29 AM

Scrape for the src not innerhtml and the tagname would be img not td


eLBF9bO.png s7pbT0S.png


#12 kentsisi

kentsisi

    Member

  • Members
  • PipPip
  • 20 posts
  • Locationat your back
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 24 June 2017 - 08:34 PM

Scrape for the src not innerhtml and the tagname would be img not td

i already tried that few days ago but its not working but anyway i figured it out using 

set(#base64,$scrape attribute($element offset(<tagname="td">,28),"innerhtml"),"Global")
add list to list(%list,$list from text(#base64,""),"Delete","Global")
set(#replace,$replace regular expression(%list,"\"width=\"91\" height=\"24\">",$nothing),"Global")
clear list(%list)
set(#base64,$nothing,"Global")


Thank you for those who helped me :) 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users