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

Downloading vBulletin Captcha Image

Discussion in 'Black Hat SEO' started by tutzor, Nov 14, 2009.

  1. tutzor

    tutzor Registered Member

    Joined:
    Aug 13, 2008
    Messages:
    76
    Likes Received:
    9
    hxxp://www.directadmin.com/forum/register.php - if you go to this forum, enter birth date, accept terms, and get to registration page you will see a captcha image. Anyone know how to download the actual image? If I copy the URL in the properties it just gives me a blank page. I tried using some functions in PHP to convert the URL to a JPG which worked on other captcha's, but it doesn't work on this one. I get connection time out when trying to download it to my HD. If you right click on it and Save Image As...it does save the actual jpg image to your HD though, anyone know if there is anyway to automate this?
     
    Last edited: Nov 14, 2009
  2. sonneti

    sonneti Regular Member

    Joined:
    Jan 27, 2009
    Messages:
    205
    Likes Received:
    127
    If you wanted to build non php bots then Ubot software has decaptcher.com built in (lol see sig)
     
  3. loamigad

    loamigad Jr. VIP Jr. VIP

    Joined:
    Sep 18, 2007
    Messages:
    257
    Likes Received:
    76
    i tried in firefox v2

    and it saved the capatcha img to my hd
    If i access the url directly it shows a 1x1 pixel i think.
    Maybe if you fake your headers, i don't know I'm defo not a programer hrhr.
     
  4. tutzor

    tutzor Registered Member

    Joined:
    Aug 13, 2008
    Messages:
    76
    Likes Received:
    9
    Just noticed something else about it.

    When the image location is loaded for the very first time in the browser, it shows the actual jpg captcha image. When I load the URL location for the second time however, it shows 1x1 GIF instead. And this only works in Firefox, if I load it up for the first time in IE it shows 1x1 GIF image.

    So I think its some kind of security thing, I'm trying different stuff in cURL to try to emulate user agent, headers etc...

    Here is what I got:

    PHP:
    $header    = array( 
        
    "Accept-Language: en-gb,en;q=0.5",
        
    "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7",
        
    "Keep-Alive: 300",
        
    "Content-Type: image/jpg",
    );


    $curloptions = array(
            
    CURLOPT_HTTPHEADER    => $header,
            
    CURLOPT_USERAGENT => 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5',
            
    CURLOPT_COOKIEJAR => $cookie,
            
    CURLOPT_COOKIEFILE => $cookie,
            
    CURLOPT_SSL_VERIFYHOST    => false,
            
    CURLOPT_SSL_VERIFYPEER    => false,
            
    CURLOPT_TIMEOUT        => 15,
            
    CURLOPT_REFERER => 'http://www.deleteddomains.com/domains-forum/'
    );
    Can someone suggest something else I can add to "emulate first natural request"?

    By the way, I'm using imagecreatefromstring to convert it to image. It saves the 1x1 GIF image instead of the actual JPG captcha, when I load the script with a newly refreshed image for the first time.
     
    Last edited: Nov 14, 2009
  5. taxx83

    taxx83 Registered Member

    Joined:
    Sep 24, 2010
    Messages:
    55
    Likes Received:
    10
    Occupation:
    .Net Application / Web / Bot Developer
    Location:
    Dirty Jersey
    Home Page:

    Have you figured this out? I can get passed all other captcha's but this kind. It's driving me crazy. I program in .NET. Any ideas? Anyone?
     
  6. SleepieGirl

    SleepieGirl Regular Member

    Joined:
    Mar 7, 2009
    Messages:
    439
    Likes Received:
    290
    Occupation:
    Need Custom Programs? Message Me!!!
    Location:
    TenDollarBlog.com
    just grab it from your browser cache.
     
    • Thanks Thanks x 1
  7. CyrusVirus

    CyrusVirus BANNED BANNED Premium Member

    Joined:
    Aug 20, 2009
    Messages:
    1,110
    Likes Received:
    686
    honestly, i can't see the captcha at all. i even registered with no captcha

    It just gave me a random question
     
  8. markm32172

    markm32172 BANNED BANNED

    Joined:
    Oct 18, 2010
    Messages:
    356
    Likes Received:
    60
    That is strange... if you r able to right click n download... u shd technically be able to download it using any method... no?
     
  9. CyrusVirus

    CyrusVirus BANNED BANNED Premium Member

    Joined:
    Aug 20, 2009
    Messages:
    1,110
    Likes Received:
    686
    well.. i still can't see it, but if its there, then why don't you right click, and view image, or set up a page with that php file only and reload
     
  10. taxx83

    taxx83 Registered Member

    Joined:
    Sep 24, 2010
    Messages:
    55
    Likes Received:
    10
    Occupation:
    .Net Application / Web / Bot Developer
    Location:
    Dirty Jersey
    Home Page:
    boom! That worked! Thank you so much. I was over thinking it.
     
  11. xanian

    xanian Newbie

    Joined:
    Mar 29, 2010
    Messages:
    12
    Likes Received:
    6
    Alternatives to this type of issue is to try moving the image to the top of the page and grab its position for a screen cap.

    However I don't find to many captchas that reset or change when you just grab the url and download it.
     
  12. spongetimetable93

    spongetimetable93 Newbie

    Joined:
    Oct 19, 2010
    Messages:
    15
    Likes Received:
    1
    You can grab it from your browser cache.