siddscool19 Posted October 12, 2008 Share Posted October 12, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/ Share on other sites More sharing options...
Bendude14 Posted October 12, 2008 Share Posted October 12, 2008 can we see some code? Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663238 Share on other sites More sharing options...
siddscool19 Posted October 12, 2008 Author Share Posted October 12, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663244 Share on other sites More sharing options...
AndyB Posted October 12, 2008 Share Posted October 12, 2008 Just as a matter of interest, if a form contains hidden inputs one of which is used to ensure the form is 'valid' would your method still work? Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663279 Share on other sites More sharing options...
siddscool19 Posted October 12, 2008 Author Share Posted October 12, 2008 Well I am sending hidden inputs also I am sending everything not a single thing left....... Then also it doesn't work Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663315 Share on other sites More sharing options...
Daniel0 Posted October 12, 2008 Share Posted October 12, 2008 CATCHAs are meant to ensure that the user is a human. Trying to do it with a computer is circumventing the system. We'll not help you break rules on other sites. Topic locked. Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663387 Share on other sites More sharing options...
Daniel0 Posted October 12, 2008 Share Posted October 12, 2008 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... Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-663429 Share on other sites More sharing options...
gizmola Posted October 13, 2008 Share Posted October 13, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/128072-need-help-captcha-sending/#findComment-664294 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.