Hallo Liebe Userinnen und User
ich würde gerne ein webclient erstellen
mithilfe von webbrowser control
1.) Angedacht war es so mann hat 2 textboxen und ein butten
in der ersten form
sollte mann sich erfolgreich eingelogt haben soll er dann form 2 öffnen
wo mann dann eingelogt ist
2.) wollte ich das ganze über HttpRequest laufen lassen da ich es sicher finde
3.) ich bekomme es leider nur nicht hin er lässt mich immer auf der login seite
4.) Ich habe auch ein Live Header mitschnitt gemacht weiß aber nicht ob das was ich gepostet habe reicht
Mit geänderter adresse und Unkentlich gemachter zugangsdaten
Spoiler anzeigen
Ich Hoffe ihr wisst eine Lösung
Mit Freundlichen Grüßen
Yolanda
Edit by der_Kurt:
* Topic verschoben *
ich würde gerne ein webclient erstellen
mithilfe von webbrowser control
1.) Angedacht war es so mann hat 2 textboxen und ein butten
in der ersten form
sollte mann sich erfolgreich eingelogt haben soll er dann form 2 öffnen
wo mann dann eingelogt ist
2.) wollte ich das ganze über HttpRequest laufen lassen da ich es sicher finde
3.) ich bekomme es leider nur nicht hin er lässt mich immer auf der login seite
4.) Ich habe auch ein Live Header mitschnitt gemacht weiß aber nicht ob das was ich gepostet habe reicht
Mit geänderter adresse und Unkentlich gemachter zugangsdaten
Brainfuck-Quellcode
- https://website.info/index.php/site/login/index.php
- GET /index.php/site/login/index.php HTTP/1.1
- Host: website.info
- User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:20.0) Gecko/20100101 Firefox/20.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language: de
- Accept-Encoding: gzip, deflate
- Cookie: PHPSESSID=r2ctdoiqr54gmupi68cgtkiv19094g7g; YII_CSRF_TOKEN=f9b8eb665c096ca79794ec1ce0b331988849026c
- Connection: keep-alive
- HTTP/1.1 200 OK
- Date: Sun, 05 May 2013 17:15:57 GMT
- Server: Apache
- Access-Control-Allow-Origin: *
- Access-Control-Allow-Methods: POST, GET
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- Pragma: no-cache
- Vary: Accept-Encoding
- Content-Encoding: gzip
- P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
- Content-Length: 2487
- Connection: close
- Content-Type: text/html
- ----------------------------------------------------------
- https://website.info/index.php/site/login/index.php
- POST /index.php/site/login/index.php HTTP/1.1
- Host: website.info
- User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:20.0) Gecko/20100101 Firefox/20.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language: de
- Accept-Encoding: gzip, deflate
- Referer: https://website.info/index.php/site/login/index.php
- Cookie: PHPSESSID=r2ctdoiqr54gmupi68cgtkiv19094g7g; YII_CSRF_TOKEN=f9b8eb665c096ca79794ec1ce0b331988849026c
- Connection: keep-alive
- Content-Type: application/x-www-form-urlencoded
- Content-Length: 162
- YII_CSRF_TOKEN=f9b8eb665c096ca79794ec1ce0b331988849026c&LoginForm%5Busername%5D=BENUTZERNAME&LoginForm%5Bpassword%5D=PASSWORT&yt0=Login&hideselector=.tohide&workflow=
- HTTP/1.1 302 Found
- Date: Sun, 05 May 2013 17:16:07 GMT
- Server: Apache
- Access-Control-Allow-Origin: *
- Access-Control-Allow-Methods: POST, GET
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- Pragma: no-cache
- Set-Cookie: __sps_eNpTVFVRVVFRVdTX09XX1VYDABHaAlU=f23t75d7vfjktjbsedhc65ajfig1muiv; path=/; secure; HttpOnly
- Set-Cookie: __sps_eNpTVFVRVVFRVdTX09XX1VYDABHaAlU=as506pqc08rpo9rdmaou4md85nj6pob3; path=/; secure; HttpOnly
- Location: https://website.info/site/index?__sps=eNpTVFVRVVFRVdTX09XX1VYDABHaAlU
- Vary: Accept-Encoding
- Content-Encoding: gzip
- P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
- Content-Length: 20
- Connection: close
- Content-Type: text/html
- ----------------------------------------------------------
- https://website.info/site/index?__sps=eNpTVFVRVVFRVdTX09XX1VYDABHaAlU
- GET /site/index?__sps=eNpTVFVRVVFRVdTX09XX1VYDABHaAlU HTTP/1.1
- Host: website.info
- User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:20.0) Gecko/20100101 Firefox/20.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language: de
- Accept-Encoding: gzip, deflate
- Referer: https://website.info/index.php/site/login/index.php
- Cookie: PHPSESSID=r2ctdoiqr54gmupi68cgtkiv19094g7g; YII_CSRF_TOKEN=f9b8eb665c096ca79794ec1ce0b331988849026c; __sps_eNpTVFVRVVFRVdTX09XX1VYDABHaAlU=as506pqc08rpo9rdmaou4md85nj6pob3
- Connection: keep-alive
Ich Hoffe ihr wisst eine Lösung
Mit Freundlichen Grüßen
Yolanda
Edit by der_Kurt:
* Topic verschoben *
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „der_Kurt“ ()