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

programming question - retrieve captcha from page via libcurl

Discussion in 'Black Hat SEO Tools' started by duhduh, Oct 8, 2009.

  1. duhduh

    duhduh Newbie

    Joined:
    Oct 8, 2009
    Messages:
    1
    Likes Received:
    0
    Hey. I'm not sure if that's right forum to ask this question but i see that there are tools coders around here so maybe someone could help me out. I'm coding tools suite for myself (maybe i'll release parts of it later) and i got to 'fun' (not really) part - filling forms that have captcha.

    I'm NOT asking how to break captcha, i know how (heh) but i don't have a clue how do i get/download captcha from website with form which i want to be automatically filled in (for example email account creation page, etc). I will probably code it in php or python (maybe php because i already used libcurl with it so i have some code ready to use). In php, I already know how to fill in forms that don't have captcha, so now, how do i retrieve captcha from form that has it, display it to user to enter it* and then add that captcha value to my code?

    My problem is kinda algorithmic, I just can't imagine what i should tell my program to do. Because, if i'll just download captcha to directory on my hard drive and make curl use the same session via cookies my captcha will be already wrong because it will change to something else when i'll submit old, good one(?)... I was thinking about taking 'excerpt' (dumb name for it but i guess you get what i mean) of page but only piece that has captcha... but how do i add this captcha value to other form parts??

    I'm totally lost. Any ideas for any language would help.

    * i wan to try manual entering them by myself first and then, when i learn basics try doing more fancy things