Hi there,
I'm trying to learn winhttp functions from winhttp udf.
I would like to automate facebook forms with it. but i don't know how to get fb forms info for headers and etc. does anyone here knows a good documentation or even better a working example code for fb?
-Note: i've tried wireshark but it doesnt support my network interface.
I can suggest you to do it with TCP.
My first steps with winhttp failed and i dont know how.
With the same packet and TCP it worked.
You can read the TuT from Shadow992
only if i knew german
but thanks anyways. i didn't know it could be done by tcp. and it IS seems like a little easier.
Sorry to bother you any good tuts in english like this?
if not i will check google anyways.
I think if you watch at these funktions and know a bit how it woks with packets you schould understand it.
You just try to rebuild the packet. If you got a GET packet set the parameter $sPost to a empty string. You also need to get the cookies. When you send the first GET packet you should get the cookies. They are in the source, the return of TCPRequest. You get the cookies by using the GetCookies funktion. From now you need to set the cookies in TCPRequest.
Just try it a bit and show the return in a MsgBox to see if you created a packet succesfull.
PHP Code:
#include<String.au3>
Func GetCookies($sQuellcode) Local $sCookies, $i, $aCookies $sCookies = '' $aCookies = _StringBetween($sQuellcode, 'Set-Cookie: ', ';', 1) For $i = 0 To UBound($aCookies) - 1 $sCookies &= $aCookies[$i] & ';' Next Return $sCookies EndFunc ;==>GetCookies
WinHTTP Proxy Problem 10/30/2011 - AutoIt - 8 Replies Hallo com,
habe folgendes Problem bei der Proxy Einstellung mit WinHTTP.
Mein Code sieht wie folgt aus:
#include <WinHTTP.au3>
#include <String.au3>
#include <Array.au3>
$Proxy = "59.66.63.182:8909"
Youtube Login mit WinHTTP - was mach ich falsch ? 08/03/2011 - AutoIt - 2 Replies Hallo Leute,
Und zwar geht es darum das ich mich gerne mit WinHttp bei Youtube einloggen möchte, um dann meine Nachrichten dort abrufen zu können.
Jedoch scheitere ich bereits bei dem Login zu Youtube, welcher wohl etwas komplizierter erscheint.
Zu aller erst bin ich auf YouTube - Broadcast Yourself gegangen, dort dann auf "Anmelden".
Nun habe ich mit Live Http Headers vom Firefox angefangen mitzuschneiden, als ich auf den Loginbutton gedrückt habe.
...
[Frage] Winhttp 11/14/2010 - AutoIt - 1 Replies Ich wollte mich ein wenig mit Winhttp vertraut machen und habe mir ein Tutorial durchgelesen......
Das hier soll eine einlogg funktion sein.... nur ich krieger immer nur diese Fehlermeldung......:
Wenn ich das Script starte passiert ..nichts... auser das ich halt diese Fehlermeldung in die Zwischenablage bekomme...
Ich hoffe ihr könnt mir helfen :)
Das Spiel heist Die-Staemme
Source vom Script :
WINHTTP.dLL 07/02/2006 - Technical Support - 2 Replies Hilfe Ich da ich heute Formatiert habe und alles neu drauf laden musste usw..... hab ich nun ein neues problem MSN will nicht Starten begründung winHTTP.dll wurde nicht gefunden!