Really I'm not pretty good on Http clientActually, nothing special is needed to integrate other software with CapMonster.
You can find the details in our help wiki - http://zennolab.com/wiki/en:addons:capmonster:work-with-other
Rostonix not in support any more.Really I'm not pretty good on Http client
Anyway, may you tell rostonix to help me in TeamViewer I will pay for that for sure!
Thanks
I read the article but not understand how can I integrated I really want to buy the service but still not understand how can I do that with C# if you know anyone can help me with that I will talk with him to help me with that as a work for sure!Rostonix not in support any more.
Could you please explain more clearly what you need? I don't quite understand what are you asking. C# is programming laguage. it can't be integrated into CapMonster.
What do you mean by "integrate with C#"?I read the article but not understand how can I integrated I really want to buy the service but still not understand how can I do that with C# if you know anyone can help me with that I will talk with him to help me with that as a work for sure!
Thanks admin
Yes Integration with C#What do you mean by "integrate with C#"?
Sorry, I don't understand what you need.Yes Integration with C#
Sir, I want to use CapMonster with C# application but i don't know how can i do thatSorry, I don't understand what you need.
As it is said in the article, you should just send captchas from your application to captcha services and run CapMonster2. it will intercept captchas.Sir, I want to use CapMonster with C# application but i don't know how can i do that
That's all
and where I added ip on the program or without add?As it is said in the article, you should just send captchas from your application to captcha services and run CapMonster2. it will intercept captchas.
It's better to select IP automactially and set default 80 port.and where I added ip on the program or without add?
![]()
Okay I'll test it now then tell you what i getIt's better to select IP automactially and set default 80 port.
What captcha are you going to recognize?Okay I'll test it now then tell you what i get
reCaptcha V2What captcha are you going to recognize?
You should send it as usual captcha to service with addional parameter. where you should specify module for recognizing and task in captcha.reCaptcha V2
How to send additional parameter?You should send it as usual captcha to service with an additional parameter. where you should specify module for recognizing and task in captcha.
Looks like this:
'CapMonsterModule=ZennoLab.ReCaptcha2&Task="cars"
Add it to post request which send captcha, this should be done on application side.How to send additional parameter?
Do you have skype admin?Add it to post request which send captcha, this should be done on application side.
string content = new StringBuilder(1024).Append(@"----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""method""
post
----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""key""
").Append(SecretKey).Append(@"
----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""recaptcha""
1
----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""CapMonsterModule""
ZennoLab.ReCaptcha2
----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""Task""
").Append(imageData.TextInstruction).Append(@"
----8d373f8bt2f4cf3
Content-Disposition: form-data; name=""file""; filename=""Captcha.jpg""
Content-Type: image/jpg
").ToString();
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(CapmonsterURL + "/in.php");
req.Proxy = null;
req.AllowAutoRedirect = false;
req.Method = "POST";
req.ServicePoint.Expect100Continue = false;
req.Timeout = 20000;
req.ContentType = "multipart/form-data; boundary=--8d373f8bt2f4cf3";
using (Stream reqStream = req.GetRequestStream())
{
byte[] buffer = Encoding.GetEncoding(1251).GetBytes(content);
reqStream.Write(buffer, 0, buffer.Length);
imageData.ImageMain.Save(reqStream, imageData.ImageMain.RawFormat);
buffer = Encoding.GetEncoding(1251).GetBytes("\r\n----8d373f8bt2f4cf3--");
reqStream.Write(buffer, 0, buffer.Length);
}
string post;
using (WebResponse resp = req.GetResponse())
using (Stream respStream = resp.GetResponseStream())
using (StreamReader sr = new StreamReader(respStream))
post = sr.ReadToEnd();
Thanks, it's not dependent ZennoPoster?Change imageData.ImageMain to your image
Код:string content = new StringBuilder(1024).Append(@"----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""method"" post ----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""key"" ").Append(SecretKey).Append(@" ----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""recaptcha"" 1 ----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""CapMonsterModule"" ZennoLab.ReCaptcha2 ----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""Task"" ").Append(imageData.TextInstruction).Append(@" ----8d373f8bt2f4cf3 Content-Disposition: form-data; name=""file""; filename=""Captcha.jpg"" Content-Type: image/jpg ").ToString(); HttpWebRequest req = (HttpWebRequest)WebRequest.Create(CapmonsterURL + "/in.php"); req.Proxy = null; req.AllowAutoRedirect = false; req.Method = "POST"; req.ServicePoint.Expect100Continue = false; req.Timeout = 20000; req.ContentType = "multipart/form-data; boundary=--8d373f8bt2f4cf3"; using (Stream reqStream = req.GetRequestStream()) { byte[] buffer = Encoding.GetEncoding(1251).GetBytes(content); reqStream.Write(buffer, 0, buffer.Length); imageData.ImageMain.Save(reqStream, imageData.ImageMain.RawFormat); buffer = Encoding.GetEncoding(1251).GetBytes("\r\n----8d373f8bt2f4cf3--"); reqStream.Write(buffer, 0, buffer.Length); } string post; using (WebResponse resp = req.GetResponse()) using (Stream respStream = resp.GetResponseStream()) using (StreamReader sr = new StreamReader(respStream)) post = sr.ReadToEnd();
it's part of c# code to send recaptcha image to capmonster which don't depend from zennoposter. If you want send another type of images (not recaptcha) you should change content to anotherThanks, it's not dependent ZennoPoster?
Great do you have skype sir?it's part of c# code to send recaptcha image to capmonster which don't depend from zennoposter
sent request to addGreat do you have skype sir?
if yes may you add me?Qais.bsharat
Hey amyboose, can you tell clearly what do i need to do if i want to use capmonster with other programs? Like i have own program which does solve recaptcha ver2 usin 2captcha api but i want to use capmonster. What do i need to do?sent request to add
1) emulate 2captchaHey amyboose, can you tell clearly what do i need to do if i want to use capmonster with other programs? Like i have own program which does solve recaptcha ver2 usin 2captcha api but i want to use capmonster. What do i need to do?
1) emulate 2captcha
2) send recaptcha to 2captcha.com
3) get token
And what about C# there?Final report on how to use capmonster with external c# program :
1. Add
127.0.0.1 2captcha.com
to your host file
2. Run capmonster on default mode which is 127.0.0.3
3. send GET request as you would do for solving recaptcha with 2captcha.com ( watch their reference API page )
4. send GET or POST to get the solved response
5. Use the answer as you want
Should work.
Thanks to @amyboose