Skip to content

how to take captcha url

AdamSAdamS Australia
edited September 2015 in New Engines/Platforms
I have someting like this in the html code

data-enabled="true"
data-reload="/bb-token.html"
data-reloadtext="Get a new code"
data-audio="/bb-audio.html"
data-audiotext="Listen to the code"
data-token="dgdggdfgfgsgdgd43fgrs3gsghgsgsgggggg43"
data-basepath="/bb-image.html"
data-title="verification code"
data-alt="Enable images to see number"
data-tabindex="21"
data-cssclass="c-txtfld-green"

add fixed data=bbUserInput=%captcha% http://www.domains.com/bb-image.html?tok=it should be data-token value

I have something like this add fixed data=bbUserInput=%question% http://www.domains.com/bb-image.html?tok=<data-token=">;<">
but doesn't work

Please help

Comments

  • SvenSven www.GSA-Online.de
    [data_token]
    type=extract
    front=data-token="
    back="
    ...
    add fixed data=bbUserInput=%captcha%
  • AdamSAdamS Australia
    haha, I know that,
    the problem is I don't have http://www.domains.com/bb-image.html?tok= in my source code

    add fixed data=bbUserInput=%captcha% *how_to_find_url_in_source_code*
    in the source code I have only data-token="dgdggdfgfgsgdgd43fgrs3gsghgsgsgggggg43"

    How can I let GSA know that I have already full captcha url and he can us it?

  • AdamSAdamS Australia
    sorry - I found
    %captcha% fixed url_address
  • AdamSAdamS Australia
    edited September 2015
    ok, the problem is when I'm trying to log in to my account.
    I have a form with login and password only.

    When I send that form, the website display login and password fields again + extra field with captcha (extra field with javascript)

    I have something like this, but doesn't work.
    Maybe I should use post data but how to use add fixed data with this?

    Please help

    [LOGIN_STEP1]
    modify url=/t-login-form.html

    submit success=>Sign out<|Expired Ads|Current Ads
    submit failed=Sorry, this email and password combination is not known|Please enter a valid email address|Please enter your password
    captcha failed=verification code

    form id=login-form
    form url=/t-login.html

    set unknown variable=%leave%

    loginMail=%login%
    password=%password%
    rememberMe=true
    _rememberMe=on
    targetUrl=

    ;if captcha exist ---
    [data_token]
    type=extract
    front=data-token="
    back="

    add fixed data=bbUserInput=%captcha% fixed:
    add fixed data condition=*verification code*


  • AdamSAdamS Australia
    edited September 2015
    Can you help me with this?

    [data_token]
    type=extract
    front=data-token="
    back="

    after that I have dgdggdfgfgsgdgd43fgrs3gsghgsgsgggggg43 as a [data_toke]

    [kapcza]
    type=extract
    default=%captcha% fixed:

    but how to take captcha from the url  ???

    sending data via 
    post data=aaa=bbb&ccc=dd&kapcza=%kapcza% 
    I have in logs

    Another thing is, that captcha display only from time to time


  • SvenSven www.GSA-Online.de
    if you have the same form again with a captcha only, then just write the same stuff in [LOGIN_STEP2] !?
  • AdamSAdamS Australia
    this is when I'm sending post data

    is it correct?
    [kapcza]
    type=extract
    default=%captcha% fixed:
  • SvenSven www.GSA-Online.de

    why not sending it directly in ...

    post data=aaa=bbb&ccc=dd&kapcza=%captcha% fixed:http:/...

  • AdamSAdamS Australia
    because captcha is only from time to time
    and I don't know to do this
    if captcha
    post data=aaa=bbb&ccc=dd&kapcza=%captcha% fixed:http:/...
    if not
    post data=aaa=bbb&ccc=dd
  • SvenSven www.GSA-Online.de
    you just use "modify step" with "modify step condition"
  • AdamSAdamS Australia
    hmmm, I'll try one more time
    I tried but didn't work
  • AdamSAdamS Australia
    Captcha doesn't work ;(
    http://ctrlv.in/642592
  • AdamSAdamS Australia
    and how to stop script on STEP3 if found captcha?
  • SvenSven www.GSA-Online.de
    sorry but guess i need to see your script to be helpful here.
  • AdamSAdamS Australia
    the problem was with
    post data=aa=bb&bbImageBaseUrl:/bb-image.html
  • AdamSAdamS Australia
    OK, how to stop on STEP2 if captcha doesn't exist?

    [STEP1]
    modify step=3
    modify step condition=veryfication code

    modify url=index.php
    just download=1

    [STEP2]
    post data=bbUserInput=NOcaptcha
    just download=1

    [STEP3]
    post data=bbUserInput=%captcha% fixed:http://someurltocaptchaimages
    just download=1

  • SvenSven www.GSA-Online.de
    is there anything else required to submit after step2/3 ? if not, it should stop submission right away due to the "submit success" or "submit failed" messages defined in step1.
  • AdamSAdamS Australia
    o f.....
    I thought that submit success or submit failed is only for STEP1

    No, step 2/3 are the last ones 
Sign In or Register to comment.