hei Liste,
hab hier mal was OT, vielleicht kennt sich ja trotzdem jemand aus:
ich rufe per wget eine Seite auf, auf der ich mich per Idnummer und
password einloggen muss:
wget --post-data check=0&PID=60060666&IDNUMMER=123456789&ZlcKVcAO=abcde
-O - https://web18.sample-login.de/useraction/GvLogin
Dabei bekomme ich folgende Antworten, hauptsächlich 302'er (siehe snipp-snapp).
Die bedeuten, das die URI unter eineer anderen URI anzutreffen ist. D.h. man
wird weitergeleitet. Das passiert hier 6 mal (innerhalb von 3 sekunden), beim
7. mal hängt sich wget auf - und macht garnix mehr. Wobei ich nicht weiss warum?
Da wget die 302 automatisch bekommt und denen folgt, sollte das doch solange
geschehen, bis eine HTML angetroffen wird, die dann zurückgegebn wird?
Oder habe ich einen Denkfehler?
-----(snipp)---
--23:20:18-- https://web18.sample-login.de/useraction/GvLogin
=> `-'
Auflösen des Hostnamen »web18.sample-login.de«.... 123.123.123.123
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz:
https://web18.sample-login.de/useraction/useraction.jsp;jsessionid=
0001p71pv0Otkqsks2nccVtNoom:10f83pjfo?ID=60060666&PID=60060666&
PIDNUMMER=123456789&PILOT=[folge]
--23:20:18--
https://web18.sample-login.de/useraction/useraction.jsp;jsessionid=
0001p71pv0Otkqsks2nccVtNoom:10f83pjfo?ID=60060666&PID=60060666&
PIDNUMMER=123456789&PILOT=
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz:
https://web18.sample-login.de/useraction/login.jsp?check=0&ID=60060666&
PIDNUMMER=123456789&IDNUMMER=123456789&PILOT=&PID=60060666&ZlcKVcAO=abcde[folge]
--23:20:19--
https://web18.sample-login.de/useraction/login.jsp?check=0&ID=60060666&
PIDNUMMER=123456789&IDNUMMER=123456789&PILOT=&PID=60060666&ZlcKVcAO=abcde
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz:
https://web18.sample-login.de/useraction/Login?check=0&IDNUMMER=123456789&
PIDNUMMER=123456789&ID=60060666&PID=60060666&PILOT=&ZlcKVcAO=abcde[folge]
--23:20:20--
https://web18.sample-login.de/useraction/Login?check=0&IDNUMMER=123456789&
PIDNUMMER=123456789&ID=60060666&PID=60060666&PILOT=&ZlcKVcAO=abcde
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz: https://web18.sample-login.de/useraction/InternetAction?ID=60060666&
AUFTRITT_NR=0[folge]
--23:20:20-- https://web18.sample-login.de/useraction/InternetAction?
ID=60060666&AUFTRITT_NR=0
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz: https://web18.sample-login.de/useraction/login.jsp?ID=60060666&
AUFTRITT_NR=0[folge]
--23:20:21-- https://web18.sample-login.de/useraction/login.jsp?
ID=60060666&AUFTRITT_NR=0
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz: https://web18.sample-login.de/useraction/Login?AUFTRITT_NR=0&
ID=60060666[folge]
--23:20:22-- https://web18.sample-login.de/useraction/Login?AUFTRITT_NR=0&
ID=60060666
=> `-'
Verbindungsaufbau zu web18.sample-login.de[123.123.123.123]:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Found
Platz: https://web18.sample-login.de/useraction/Login[folge]
-----(snapp)---
Gruss Erik
-- J. Erik Heinz Koblenzer Str. 11 60327 Frankfurt am Main Mob: +49 163 3373745 +49 163 DerErik Mail: jerik(at)gmx.net To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sun 22 May 2005 - 23:46:29 CEST