problem Posted July 11, 2013 Share Posted July 11, 2013 Hi. I have program in winhttp. #include <WinHTTP.au3> $handlewinhttp = _WinHttpOpen("User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0") $connect = _winhttpconnect($handlewinhttp, "www.clickpaid.com") $request = _winhttpopenrequest($connect, "GET", "/captcha/captcha.php") _winhttpaddrequestheaders($request, "Accept: image/png,image/*;q=0.8,*/*;q=0.5") _winhttpaddrequestheaders($request, "Accept-Language: pl,en-us;q=0.7,en;q=0.3") _winhttpaddrequestheaders($request, "Referer: http://www.clickpaid.com/") _winhttpaddrequestheaders($request, "Connection: keep-alive") _winhttpsendrequest($request) _winhttpreceiveresponse($request) $info = "" Do $info &= _winhttpreaddata($request,0) Until @error consolewrite($info) _WINHTTPCLOSEHANDLE($request) _WINHTTPCLOSEHANDLE($connect) _WINHTTPCLOSEHANDLE($handlewinhttp) I want save this captcha but I get empty response. How else can I save? Link to comment Share on other sites More sharing options...
Danyfirex Posted July 12, 2013 Share Posted July 12, 2013 (edited) hi, from help file:<snip?saludos Edited July 12, 2013 by Melba23 Code removed until the CAPTCHA is explained Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 12, 2013 Moderators Share Posted July 12, 2013 problem,Can you please explain this line:$request = _winhttpopenrequest($connect, "GET", "/captcha/captcha.php")Why do you want the CAPTCHA? M23 Danyfirex 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
problem Posted July 12, 2013 Author Share Posted July 12, 2013 (edited) After logging on the website is another captcha which I need to click on the ads. The captcha codes are made the same. This link received from the Live HTTP Headers. http://www.clickpaid.com/captcha/captcha.php GET /captcha/captcha.php HTTP/1.1 Host: www.clickpaid.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 Accept: image/png,image/*;q=0.8,*/*;q=0.5 Accept-Language: pl,en-us;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://www.clickpaid.com/ Cookie: __auc=f102081413fa296fd05697fc38f; __utma=64604797.1741239045.1372822373.1373606493.1373653065.17; __utmz=64604797.1373653065.17.14.utmcsr=bannersbroker.com|utmccn=(referral)|utmcmd=referral|utmcct=/incentives/click_adspot; __atuvc=4%7C27%2C7%7C28; clickpaid=bkuh49daee4cbctqr27jtc3o63; __asc=c3abeda913fd41a58669944b79d; __utmb=64604797.6.10.1373653065 Connection: keep-alive Edited July 12, 2013 by problem Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 12, 2013 Moderators Share Posted July 12, 2013 problem,We do not help automate "pay per click" sites. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts