Danke werd mal aufs captcha warten und so versuchen :)
Habe schon lange diesen Tut angeschaut, aber diesmal will mich CaptchaTrader.com nicht rein lassen, obwohl ich die "Einträge" aus dem Http Headers in meinem Script eingetragen hat.Quote:
Wenn man nur den Drache anklicken muss, dann kannst du sicher auch dies mit Winhttp erledigen.
[Only registered and activated users can see links. Click Here To Register...]
Einfach, wie in dem Video beschrieben, mit Http Headers die entsprechenden Packet sniffen und nachbauen ;)
#include <WinHttp.au3>
$hSession = _WinHttpOpen("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1")
$hConnect = _WinHttpConnect($hSession, "captchatrader.com")
$sHTML = _WinHttpSimpleRequest($hConnect, "GET", "")
FileWrite("Antwort 1.html", $sHTML)
$sHTML = _WinHttpSimpleRequest($hConnect, "POST", "login", "", "_method=POST&data%5BUser%5D%5Busername%5D=USERNAME&data%5BUser%5D%5Bpassword%5D=PASSWORD")
FileWrite("Antwort 2.html", $sHTML)
_WinHttpCloseHandle($hSession)
_WinHttpCloseHandle($hConnect)
#include <WinHttp.au3>
$hSession = _WinHttpOpen("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1")
$hConnect = _WinHttpConnect($hSession, "captchatrader.com")
$sHTML = _WinHttpSimpleRequest($hConnect, "GET", "")
FileWrite("Antwort 1.html", $sHTML)
$sHTML = _WinHttpSimpleRequest($hConnect, "POST", "login", "", "_method=POST&data%5BUser%5D%5Busername%5D=USERNAME&data%5BUser%5D%5Bpassword%5D=PASSWORD")
$sHTML = _WinHttpSimpleRequest($hConnect, "GET", "")
FileWrite("Antwort 2.html", $sHTML)
_WinHttpCloseHandle($hSession)
_WinHttpCloseHandle($hConnect)
Global $Paused
HotKeySet("{p}", "Pause")
HotKeySet ("{ESC}" [, " exit "] )
If $Start Then
While 1
Send ("{4}")
Sleep (1000)
WEnd
While 2
Send ("{5}")
WEnd
EndIf
EndFunc
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is stopped',0,0)
WEnd
ToolTip("möööp :D")
EndFunc
Func exit()
Exit
EndFunc
While 1
Sleep(100)
WEnd