Code:
#include <WinHttp.au3>
$username = "f884638"
$password ="boulegue"
$session = _WinHttpOpen ("Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0")
$connection = _WinHttpConnect ($session, "ask.fm")
$requestHTML = _WinHttpSimpleRequest ($connection, "GET", "")
FileWrite("test.html", $requestHTML)
$ausgabe = FileReadLine ( "test.html",182)
$ausgabe = StringTrimLeft ($ausgabe,26)
$ausgabe = StringTrimRight ($ausgabe,2)
$authenticity_token = $ausgabe
;Einlogen
$requestHTMLLogin = _WinHttpSimpleRequest ($connection, "POST","/session","http://ask.fm","authenticity_token="&$authenticity_token&"%3D&login=f884638&password=boulegue&follow=&like=&back=&authenticity_token=GfkPFpp%2BwJlxhV%2BogZCYlKaDTby%2Fo3FAdgLwXDPapsg%3D")
FileWrite("test1.html", $requestHTMLLogin)
_WinHttpCloseHandle ($connection)
_WinHttpCloseHandle ($session)
gelöst... Sonderzeichen per Post.... -.-
$sStringConvert1 = StringReplace($hToken[0], "+", "%2B")
$sStringConvert2 = StringReplace($sStringConvert1, "/", "%2F")
$sSessiontoken = StringReplace($sStringConvert2, "=", "%3D")






