1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need iMacros script that can solve recaptcha with death by captcha API

Discussion in 'Black Hat SEO Tools' started by PBNSurprise, Aug 9, 2016.

  1. PBNSurprise

    PBNSurprise Jr. VIP Jr. VIP

    Joined:
    Jul 22, 2015
    Messages:
    1,316
    Likes Received:
    600
    Gender:
    Male
    Occupation:
    Amazon
    I need an imacros script that can solve recaptcha using death by captcha's API. I'm sure some out there using imacros have a script like this, if you share it with me I would simply need to change the username and password for DBC to my login details. Anyone out there?
     
  2. Rene Frydson

    Rene Frydson Newbie

    Joined:
    Dec 2, 2014
    Messages:
    12
    Likes Received:
    3
    Death by captcha is very cheap, you can buy 5k captcha in just $7.
     
  3. Worm99

    Worm99 Power Member

    Joined:
    Jan 12, 2012
    Messages:
    528
    Likes Received:
    312
    Location:
    Multiverse
    You may want to change it a bit to fit your site, this one is made for Reddit spamming.
    Replace xxxx with your folder and credentials.
    FOr some reason it's inserting a stupid smiley instead of : p without the break. I can't really format this right now so just correct it yourself.

    ONDOWNLOAD FOLDER=C:\xxxxxxxxxxxxxxxxxx FILE=image.jpg WAIT=YES
    TAG POS=1 TYPE=IMG ATTR=HREF:*captcha* CONTENT=EVENT:SAVEPICTUREAS
    WAIT SECONDS=5
    TAB OPEN
    TAB T=2
    SET !EXTRACT_TEST_POPUP NO
    URL GOTO=http://api.deathbycaptcha.com/decaptcher?function=picture2&print_format=html
    TAG POS=1 TYPE=INPUT ATTR=NAME:username CONTENT=xxxxxxxxxxxxxxxx
    TAG POS=1 TYPE=INPUT ATTR=NAME:password CONTENT=xxxxxxxxxxxxx
    TAG POS=1 TYPE=INPUT ATTR=NAME:pict CONTENT=C:\xxxxxxxxxxxxxxxxxxx\image.jpg
    TAG POS=1 TYPE=INPUT ATTR=TYPE:submit
    WAIT SECONDS=5
    TAG POS=6 TYPE=TD ATTR=* EXTRACT=TXT
    SET !VAR7 {{!EXTRACT}}
    TAB CLOSE
    TAB T=1
    TAG POS=1 TYPE=INPUT:TEXT FORM=ID:newlink ATTR=TYPE:text&&CLASS:captcha&&NAME:captcha CONTENT={{!VAR7}}
    WAIT SECONDS=10
    TAG POS=1 TYPE=BUTTON FORM=ID:newlink ATTR=TYPE:submit&&VALUE:form&&NAME:submit&&CLASS:btn
    WAIT SECONDS=10
    FILEDELETE NAME=C:\xxxxxxxxxxxxxxxxxxxxxxxx\image.jpg
    WAIT SECONDS=16
     
    Last edited: Aug 9, 2016
  4. PBNSurprise

    PBNSurprise Jr. VIP Jr. VIP

    Joined:
    Jul 22, 2015
    Messages:
    1,316
    Likes Received:
    600
    Gender:
    Male
    Occupation:
    Amazon
    Hi there, this part is confusing to me: TAG POS=1 TYPE=IMG ATTR=HREF:*captcha* CONTENT=EVENT:SAVEPICTUREAS
    imacros isn't selecting and saving the image, it keeps saying "tag waiting"
     
  5. neu009

    neu009 Senior Member

    Joined:
    Jul 29, 2009
    Messages:
    1,089
    Likes Received:
    298
    Just use Imacros to click on the captcha and take the attr from there to replace the above
     
  6. PBNSurprise

    PBNSurprise Jr. VIP Jr. VIP

    Joined:
    Jul 22, 2015
    Messages:
    1,316
    Likes Received:
    600
    Gender:
    Male
    Occupation:
    Amazon
    I was playing around with this earlier, this is what I got:

    TAG POS=5 TYPE=IMG ATTR=SRC:https://www.google.com/recaptcha/api2/payload?c=*

    When I use this though imacros still doesn't select the image and save it
     
  7. neu009

    neu009 Senior Member

    Joined:
    Jul 29, 2009
    Messages:
    1,089
    Likes Received:
    298
    HAvent used imacros in quite some time, but maybe just try the original code and change pos=1 to pos=5 rest should work in my opinion as it has the wildcard in there. If not sure if you share an example URL someone can help you more
     
  8. PBNSurprise

    PBNSurprise Jr. VIP Jr. VIP

    Joined:
    Jul 22, 2015
    Messages:
    1,316
    Likes Received:
    600
    Gender:
    Male
    Occupation:
    Amazon
    Code:
    VERSION BUILD=7210419 RECORDER=FX
    SET !ERRORIGNORE YES
    SET !EXTRACT_TEST_POPUP NO
    SET !REPLAYSPEED SLOW
    SET !EXTRACT NULL
    TAB T=1
    FRAME NAME="*"
    TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:
    WAIT SECONDS=5
    ONDOWNLOAD FOLDER=* FILE=image.jpg WAIT=YES
    FRAME NAME="b0jir28yeudo"
    TAG POS=2 TYPE=IMG ATTR=SRC:https://www.google.com/recaptcha/api2/payload?c=* CONTENT=EVENT:SAVEPICTUREAS
    
    WAIT SECONDS=5
    TAB OPEN
    TAB T=2
    SET !EXTRACT_TEST_POPUP NO
    URL GOTO=http://api.deathbycaptcha.com/decaptcher?function=picture2&print_format=html
    TAG POS=1 TYPE=INPUT ATTR=NAME:username CONTENT=Instabux
    TAG POS=1 TYPE=INPUT ATTR=NAME:password CONTENT=fatboy10
    TAG POS=1 TYPE=INPUT ATTR=NAME:pict CONTENT=C:\Users\hamid\OneDrive\Documents\iMacros\Downloads\image.jpg
    TAG POS=1 TYPE=INPUT ATTR=TYPE:submit
    WAIT SECONDS=5
    TAG POS=6 TYPE=TD ATTR=* EXTRACT=TXT
    SET !VAR7 {{!EXTRACT}}
    TAB CLOSE
    TAB T=1
    TAG POS=1 TYPE=INPUT:TEXT FORM=ID:newlink ATTR=TYPE:text&&CLASS:captcha&&NAME:captcha CONTENT={{!VAR7}}
    WAIT SECONDS=10
    TAG POS=1 TYPE=BUTTON FORM=ID:newlink ATTR=TYPE:submit&&VALUE:form&&NAME:submit&&CLASS:btn
    WAIT SECONDS=10
    This is what I have. The problem is the frame name changes, here it is set to: b0jir28yeudo. I tried putting * as the wildcard for frame name but that doesn't work, imacros then can't find the tag for the image to save.

    Also, the last two tags can't be found. This is the part where imacros selects the right captcha images based on what the api solved. And then the last tag is for clicking the verify button. Anyone have experience on this and can help? Thanks