Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Get Captcha from ANY page - Google - Hotmail - Whathever....

@Scarfac3_
Nice share bro
I guess the marketpalce will fill mass registration bots in few days from super coders (aka 🎉)

But anyway, this is nice html parse
Regards, UL
🤝
Nice work, good to you helping out again man.
(Jul 9, 2013 02:28 AM)Kawop Wrote:  If i've correctly understand that can be used to bypass captcha ?

No, this means you can get captcha image from webbrowser control as Image of picturebox
To bypass you should use external tool like deathbycaptcha, CAP or so
🤝
why u use the html obj lib u can do it with looping the images
Thanks for this release ! Great, I appreciate it.
Not sure what's all the bum licking here. It's pretty shit.
(Jul 9, 2013 09:12 AM)ident Wrote:  Not sure what's all the bum licking here. It's pretty shit.

Your code shit, and your code shit and my code shit .... and any other's code shit
And as Scarfac3_ said, we're all know so only ident's code is not shit
😏
(Jul 9, 2013 09:12 AM)ident Wrote:  Not sure what's all the bum licking here. It's pretty shit.

haha u are funny 🤝 dono why u think i hate u
anyway simple way
Code
Dim Wb As New WebBrowser
  Wb.Navigate("https://accounts.google.com/SignUp?continue=https%3A%2F%2Fencrypted.google.com%2F&hl=en")
  While Not Wb.ReadyState = WebBrowserReadyState.Complete
    Application.DoEvents()
  End While
  For Each Cap As HtmlElement In Wb.Document.Images
    If Cap.GetAttribute("src").Contains("recaptcha") Then
    PictureBox1.ImageLocation = Cap.GetAttribute("src")
    End If
Next
(Jul 9, 2013 09:25 AM)C3ol Wrote:  haha u are funny 🤝 dono why u think i hate u
anyway simple way
Code
Dim Wb As New WebBrowser
  Wb.Navigate("https://accounts.google.com/SignUp?continue=https%3A%2F%2Fencrypted.google.com%2F&hl=en")
  While Not Wb.ReadyState = WebBrowserReadyState.Complete
    Application.DoEvents()
  End While
  For Each Cap As HtmlElement In Wb.Document.Images
    If Cap.GetAttribute("src").Contains("recaptcha") Then
    PictureBox1.ImageLocation = Cap.GetAttribute("src")
    End If
Next

Never ever call application.doevents inside a loop.
Holy hell dude it fucking works! Nice job. +3 to you

Edit: will deliver rep when I can give more haha
Thanks you for sharing this help me so much!!
Thanks Scarfac3,

I am going for the idea behind the concept.

Greetz._
[img]http://img109.imageshack.us/img109/7614/3xzz.jpg[/img]

Well just forget about captcha issues now...and have a nice day. 🤝
[/quote]

Nice Tut Brother,,,
(Jul 21, 2013 09:45 AM)Fafaffy Wrote:  Hey, can I join in this parade?

Sorry it's in C#, but it doesn't use a web browser <3

Spoiler (Click to View)

Spoiler (Click to View)

PHP Code

<?php 
try
    {
    
String getPublicKey = "\"([^\"]+)\",\"captchaContainer";
    
String getChallenge = "challenge : '([^']+)',";
    
String baseURL = "http://www.google.com/recaptcha/api/image?c=";
    
String backupOption = "\"((http)?s?(://)?(www\\.)?google\\.com/recaptcha/[^\"]+)\"";
    
//Obviously, we don't HAVE to create those strings, but just for the sake of making the code cleaner, I made them here.

    
WebClient temp = new WebClient();
    
//WebClient FTW

    
String tempSource = temp.DownloadString(textBox1.Text);
    
//Used in case the google image is actually just lying there in the source

    
String publicKey = Regex.Match(tempSource, getPublicKey).Groups[1].Value;
    
//We need the public key to get the image of the captcha

    
if(String.IsNullOrEmpty(publicKey)){
    
//If we don't have a public key (probably because they're already showing the image in the source), just try to find the image
    
pictureBox1.ImageLocation = Regex.Match(tempSource, backupOption).Groups[1].ToString();
    }else{
    
String url = String.Format("{0}{1}", baseURL, Regex.Match(temp.DownloadString(String.Format("http://www.google.com/recaptcha/api/challenge?k={0}", publicKey)), getChallenge).Groups[1].ToString());
    
//Now we need the challenge key USING the public key
    //God google, wai you gotta complicate my life?

    
pictureBox1.ImageLocation = url;
    
//Ta-MOTHERFUCKING-DA
    
}

    }
    catch (
Exception)
    {
    
MessageBox.Show("An error has occured, but I was too lazy to tell you what it is.");
    } 
http://pastebin.com/Ju04bVwW

Yay, an actual decent response that using the recaptcha api rather than pulling random data from sites.
Very, very nice as always, great work man.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ClusterzIncMar 11, 2019 09:48 AM 10 1,249 Mar 11, 2019 09:48 AM
Last Post: ClusterzInc
[Python] by thePolarBearJun 7, 2017 08:32 PM 2 270 Jun 7, 2017 08:32 PM
Last Post: thePolarBear
[.NET] by Marcoluca56Nov 17, 2016 10:11 PM 8 427 Nov 17, 2016 10:11 PM
Last Post: SL x TnT