mahlzeit
mal ne frage hat sich schon mal jemand mit live.com login beschäftigt
möchte mich mit ner idhttp dort einlogen das prob ist nur da gibts ne art session id
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23:
| procedure TForm1.Button1Click(Sender: TObject); var slData: TStringList; begin slData := TStringList.Create; try idhttp1.HandleRedirects := true; idhttp1.IOHandler := IdSSLIOHandlerSocketOpenSSL1; IdHTTP1.Request.UserAgent := 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10';
sldata.add('PPSX=Passpor&PwdPad=IfYouAreReadingThisYouHaveTooM&type='); sldata.add('&login='+ edit1.Text); sldata.add('&passwd='+ edit2.Text); sldata.add('&LoginOptions=3'); sldata.add('&PPFT=session id'); Memo1.lines.Add(IdHTTP1.post('https://login.live.com/ppsecure/post.srf?', slData));
finally slData.Free; IdHTTP1.Free; end; end; |
so sieht die id aus:
Zitat: |
B%216G3wpq3posE2ggoanFdqu4DTCsgMv6lngZHFtvHLDG*epVHopf1SlsI
IuBCfgYYq03VVNpdGe0Gt2N*VjQVKg%21oZaiWdxOU*Pg%21Ol7xpzo9*FmT
N0*f7zpWjTSZ03eWBdO5ApgmDpPcfdbmjymTXtBGxw1IWBErpT1qeI%24
|
beim cookie auslesen kommt sowas hier raus
Zitat: |
CookieText: MSPOK=$uuid-0e514b5f-e93c-406d-9323-4655cf8d4878; path=/; domain=login.live.com; version=1
ServerCookie: MSPOK=$uuid-0e514b5f-e93c-406d-9323-4655cf8d4878; path=/; domain=login.live.com; version=1
Domain: login.live.com
CookieName: MSPOK
|
hoffe mir kann wer weiter helfen danke schon mal an alle =)