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

Imacros help needed please read

Discussion in 'Black Hat SEO Tools' started by snakemannva, Aug 1, 2009.

  1. snakemannva

    snakemannva Registered Member

    Joined:
    May 24, 2009
    Messages:
    67
    Likes Received:
    4
    Occupation:
    I own a Reptile Breeding buisness and Computer rep
    Location:
    Caroline County
    Home Page:
    Hello i am wondering is there someone out here who knows a code to use with Decaptch.com with imacros so it can solve the captchs? If so could someone help me out and let me know what it is because i can not find it nowhere
     
  2. nambooooo

    nambooooo Regular Member

    Joined:
    May 21, 2009
    Messages:
    219
    Likes Received:
    71
    Location:
    GreenMTN
    Hey, I`ve done it myself a week or so ago, it works just fine for me, but you`ll have to install a server like xampp(or wamp) on your PC

    Code:
    ONDOWNLOAD FOLDER=C:\xampp\htdocs\api\ FILE=Captcha.jpeg WAIT=YES
    TAG POS=1 TYPE=IMG ATTR=HREF:*api-secure.recaptcha.net/* CONTENT=EVENT:SAVEPICTUREAS
    TAB OPEN
    TAB T=2
    URL GOTO=http://localhost/api/main.php
    TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT
    TAB CLOSE
    TAB T=1
    CLICK X=218 Y=276 CONTENT={{!EXTRACT}}
    
    So, the first line tells to save as Captcha.jpeg in the server root
    The second scrapes the captcha itself (this is for the craigslist captcha, but I`ll assume you can use it with every reCaptcha, which is like ... everywhere :) )
    Code:
    GOTO=http://localhost/api/main.php 
    This one is calling the API file that you find on the decaptcher site.
    Code:
    CLICK X=218 Y=276 
    This came up as a ultimate solution :) because I couldn`t figure out the better way :)
    so it could not work on your PC (?????), because of the screen res ... (?? not sure ??)

    Good luck.
     
    • Thanks Thanks x 1
  3. nambooooo

    nambooooo Regular Member

    Joined:
    May 21, 2009
    Messages:
    219
    Likes Received:
    71
    Location:
    GreenMTN
    Oh ... yes ... also forgot to mention, I`ve modified the API php file so it would output ONLY the captcha result, and would not show the "Logging in ...", "That many credits left ..." (or whatever) crap ...
     
  4. orangejuice

    orangejuice Registered Member

    Joined:
    Jul 25, 2009
    Messages:
    54
    Likes Received:
    16
    You can setup a simple HTML form to use HTTP post direct to the decaptcher.com server and read the result (new tab). There's no need for a local server this way.
     
    • Thanks Thanks x 1
  5. cobra

    cobra Registered Member

    Joined:
    Dec 6, 2007
    Messages:
    82
    Likes Received:
    75
    If you use beatcaptchas_dot_com the code would look like this:

    <your start of the macro is here>

    'typically you put this code when you are first able to see/download the captcha

    'this deletes the previous captcha picture otherwise imacros will have errors

    FILEDELETE NAME=c:\pic.jpg

    'this sets where you want to download the captcha to on your computers. You MUST call the captcha pic.jpg otherwise errors might happen

    ONDOWNLOAD FOLDER=c:\FILE=pic.jpg

    'this downloads the captcha you do this by using the SAVE ITEM command while recording and click on the captcha
    TAG POS=1 TYPE=IMG ATTR=HREF:<THIS IS WHERE YOU INSERT CAPTCHA HREF>CONTENT=EVENT:SAVEITEM

    'this opens and brings you to a new tab to upload your captcha

    TAB OPEN
    TAB T=2
    URL GOTO=http://beatcaptchas.com/captcha.php

    'you are given a key upon signup and you paste it here
    TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:upload.php ATTR=ID:key CONTENT=<PASTE KEY HERE>

    'this is the location of your captcha on your computer to upload
    TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:captcha.php ATTR=NAME:file CONTENT=C:\pic.jpg
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:captcha.php ATTR=NAME:submit

    'once submitted it will take a short time to solve the captcha and once completed you will automatically extract the captcha text
    TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT

    'this sets the captcha as variable 1 to use later
    SET !VAR1 {{!EXTRACT}}
    TAB T=1

    'this shows an example of how to input the variable into the captcha input

    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:captcha CONTENT={{!var1}}

    <END OF MACRO HERE>

    If you are confused about how to write a macro or have any other questions about it send questions to support_at_beatcaptchas_com_com
     
  6. roccolo70

    roccolo70 Newbie

    Joined:
    Aug 27, 2010
    Messages:
    2
    Likes Received:
    0
    and how can i do that on linux?
     
  7. humancoder

    humancoder Junior Member

    Joined:
    Aug 13, 2010
    Messages:
    103
    Likes Received:
    53
    Occupation:
    Marketing
    Location:
    BHW
    Home Page:
    Hello create a HTML file and send those captcha HTTP post direct to the decaptche. you get HTTP API in decaptchers tools section. its will work on Linux to.