Jump to content

Need Help!! Captcha Sending?


siddscool19

Recommended Posts

I am sending the value of captcha using curl to the page to register on the site

I get the captcha using curl and then type in the value of the captcha and send to the page

But it doesn't works......

I am sending each and every value with it..............

But it says captcha entered is wrong and changes the captcha

Link to comment
https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/
Share on other sites

Here are the codings:

$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL,(url where the info is to submit here);
curl_setopt($ch2,CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch2,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch2,CURLOPT_COOKIE,1);
curl_setopt($ch2,CURLOPT_COOKIEFILE,"cookie.txt");
curl_setopt($ch2,CURLOPT_AUTOREFERER,1);
curl_setopt($ch2,CURLOPT_USERAGENT,"ArabyBot (compatible; Mozilla/5.0; GoogleBot; FAST Crawler 6.4; http://www.araby.com;)");
curl_setopt($ch2, CURLOPT_POST, 1);
curl_setopt($ch2, CURLOPT_POSTFIELDS,$valuesubmit);
curl_setopt($ch2,CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($ch2,CURLOPT_CONNECTTIMEOUT,"120");
$result1= curl_exec ($ch2);
echo $result1;
curl_close ($ch2);

$valuesubmit contains all the value to be submited

I sends all the values correctly but the page load with a new captcha that the value u entered was wrong

I was not at all trying to break rules............ I was just trying to submit data to a form having captcha I am not breaking captcha in anyway The captcha would still be entered by a User I just want to submit it using a script.......... I am not breaking captcha in anyway

 

I suppose we can let this topic go on...

Umm,  why would you want to do that?  Often this is used by spammers to trick unwitting victims who think they are registering for something free, into doing the dirty work for spammers.  I wrote about this phenomenon on my blog back in Jan 07:  http://www.gizmola.com/blog/archives/73-CAPTCHA-busting-A-sucker-born-every-minute.html

 

I think we need more specifics about the site in question, and the reason for doing a redirection to their registration system.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.