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

Youtube Account Creator- Changing Web Images

Discussion in 'Visual Basic .NET' started by lamlam, Nov 8, 2008.

  1. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    Hi. I am making a YouTube account creator when I ran into one problem: In order to get the captcha, I need the url. Unfortunately, the url links to a changing picture. Once all the bugs are worked out, this will be free for everyone to use!!

    This is what I have:
    Code:
     For Each webImage As HtmlElement In WebBrowser2.Document.Images
    
                ListBox1.Items.Add(webImage.GetAttribute("src") & vbCrLf)
    
            Next
            WebBrowser1.Navigate(ListBox1.Items(20))
    I figured out that if I copy the picture to the clipboard, I can paste that image in a picture box. In order to do that, I need to right click that image to show the context menu and then click "Copy". I am trying to achive that programatically. I know you can do this:
    Code:
      WebBrowser2.Document.Images.Item(20).InvokeMember("click")
    But I need to right click. Does anyone know how to do this? If there is another method to get the changing captcha image, please enlighten me.

    Thanks,
    Lamlam :)
     
    • Thanks Thanks x 2
  2. seres

    seres Junior Member

    Joined:
    Jan 9, 2008
    Messages:
    126
    Likes Received:
    56
    Location:
    Inside
    Men can you add the proxys that have the tubeincreaser for create accounts from differents IPS so this is more easy to handle.
    Thks
     
    Last edited: Nov 8, 2008
  3. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    Yeah, that completly answers my question...lol...
     
  4. hopkinzer

    hopkinzer Newbie

    Joined:
    Jul 7, 2008
    Messages:
    16
    Likes Received:
    6
    i guess thats not that difficult all you need is to call an api
    "Function URLDownloadToFile Lib" to download that image file to your hard drive and then you can display it in picture box for further processing its direct approach and appropriate rather then right clicking and copying that image to clipboard
     
  5. crepito

    crepito Junior Member

    Joined:
    Oct 5, 2008
    Messages:
    145
    Likes Received:
    28
    Location:
    Portugal
    Yeah, getting the "src" of the image is useless because once you do another request, the image will be different. I'm going to look into this and see if i can find a way to help you out.

    Btw, when i was coding my own tool, i had a big problem. I wasn't able to send a successful "click" to the create account button. Dunno if you got that problem as well.

    PS: i was using mshtml to do all the actions.

    -----------------

    Lol, i just checked my tool and now it works lol :x that's wierd...
     
    Last edited: Nov 9, 2008
  6. dadboss

    dadboss BANNED BANNED

    Joined:
    Sep 29, 2007
    Messages:
    83
    Likes Received:
    52
    I pmed you something you might find interesting
     
    Last edited: Nov 9, 2008
  7. crepito

    crepito Junior Member

    Joined:
    Oct 5, 2008
    Messages:
    145
    Likes Received:
    28
    Location:
    Portugal
    My tool only needs 2 things to be fully working. Proxy support and connecting to a master gmail account in order to auto verify the accounts. Other than, its almost done. Since i code this stuff for myself, i don't waste time optimizing the visuals. Take a look, you might get some ideas for your tool.

    Code:
    http://img393.imageshack.us/my.php?image=ythh1.jpg
     
    • Thanks Thanks x 1
  8. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    I like your idea crepito, it looks pretty great. What I'm trying to accomplish though is full support without the WebBrowser. I guess I'll do something like that for me personally... (I hope you don't mind)
     
  9. cyklotrial

    cyklotrial Regular Member

    Joined:
    Oct 13, 2008
    Messages:
    248
    Likes Received:
    82
    Location:
    Wonderland
    Okay but how you are breaking CAPTCHA? Are you using the own OCR method or outside scripts?
     
  10. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    As soon as I can load the captcha, I'll try to break it. Oh, hopkinzer and dadboss, thanks for the help, but it's a dynamic image. It downloads a different image, becuase I'm using a webclient. Any advice on how to do it with the WebBrowser component? For the beta version, I'll leave the browser in, but I have to take it out in the full version.
     
  11. crepito

    crepito Junior Member

    Joined:
    Oct 5, 2008
    Messages:
    145
    Likes Received:
    28
    Location:
    Portugal
    Probably the best option for breaking the captcha would be using something like "http://imag*etot*ext.co*m/" but i believe its a paid service. Anyway, good luck with the project.
     
  12. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    Yeah, it's a paid service, and thanks for the help man. Now all I have are proxies (It still fails...lol)
     
  13. NoteFighter

    NoteFighter Registered Member

    Joined:
    Mar 31, 2008
    Messages:
    65
    Likes Received:
    203
    I always look forward to lamlam's work. He's like the next upcoming in BHW prior to the other BH programmers :p

    Cheers lamlam.
     
  14. crepito

    crepito Junior Member

    Joined:
    Oct 5, 2008
    Messages:
    145
    Likes Received:
    28
    Location:
    Portugal
    Same here. i always like to support fellow coders.
     
  15. lamlam

    lamlam Junior Member

    Joined:
    Oct 25, 2008
    Messages:
    134
    Likes Received:
    854
    Occupation:
    What do you think?
    Location:
    In my home...
    Here's an update on how it looks. Thanks to crepito for helping me with the captcha, the layout is from my Gmail Account Creator with a few modifications. Hope you like it...
    [​IMG]
     
    • Thanks Thanks x 1
  16. PostWhore

    PostWhore Registered Member

    Joined:
    Jul 22, 2008
    Messages:
    51
    Likes Received:
    2
    Why don't you use HttpWebRequest class to POST all the data, only to have CAPTCHA image and CAPTCHA textbox to show up? The problem you had with downloading CAPTCHA image is that you didn't download the image with the cookies.
     
  17. loxy

    loxy Registered Member

    Joined:
    Dec 12, 2008
    Messages:
    71
    Likes Received:
    984
    Occupation:
    Professional Coder
    Location:
    Wouldn't you like to know!
    Yup, just get/set the cookies and send the http request to get the same image.
    Be careful with that though.
    Double downloading the image looks dodgy.

    When creating users you want to do this based on word lists too.
    Ie proper names plus numbers, places plus numbers, game names plus numbers etc.

    a username of xzvnlkdganau is obviously generated and useless for comment posting ;)

    just my 2 pence

    loxy
     
  18. pussyback

    pussyback Regular Member

    Joined:
    Apr 5, 2008
    Messages:
    402
    Likes Received:
    79
    yes you can have it take a screen shot by setting the x and y coordinates i have the code for this but it in vb6
     
  19. chr15

    chr15 Newbie

    Joined:
    Dec 22, 2008
    Messages:
    10
    Likes Received:
    18
    Home Page:
    the x and y coordinates in the program? or webbrowser itself? i use vb6 and would like to see this sub :)
     
  20. zZeus

    zZeus BANNED BANNED

    Joined:
    Aug 9, 2009
    Messages:
    129
    Likes Received:
    120
    wow, im interested in making my own bot/s for youtube.

    this all looks complicated :(