Skip to content

I want to send my captcha images to GSA Captchabreaker in C#.


I'm currently using C# to automate a website registration. I managed to get the captcha to be working 30% in gsa captchabreaker however I have no idea how to send my images to captchabreaker for it to break. I got the captcha images already ready to be sent but how can I send it to GSA Captchabreaker?



  • If in CB you enabled the "Run as server option" with address, and checked simulate... DeCaptcher, this should do the job:

    var imagefile = "captcha.jpg";
    var form = new MultipartFormDataContent
    	{new StringContent("username"), "username"},
    	{new StringContent("password"), "password"},
    	{new StringContent("picture2"), "function"},
    	{new ByteArrayContent(File.ReadAllBytes(imagefile)), "pict", imagefile}
    var client = new HttpClient();
    var response = client.PostAsync("", form).Result;
    var result = response.Content.ReadAsStringAsync().Result;

  • Hello, I totally forgot I made a topic here asking this... Yea I already figured it out and made it working already.. Sorry for wasting your time.
Sign In or Register to comment.