cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL Proxy+HTTPS+LOGIN+Download

From: Aryan Layes <aryan.layes_at_web.de>
Date: Mon, 18 Aug 2008 12:18:07 +0200

Yeah, but the cookies part was the only part i didn't understand in the cURL - Tutorial.

But I think the POST-String is wrong because the org.apache.struts.taglib.html.TOKEN has not every time the value 23483225fc59dbdb55d67cc1fca496b6, it changes every time!
How can I get the real value? And there is another problem, this Form has no Submit, just a "Submit"-Picture with the name OK.

curl ^
-U PROXYUSER:PROXYUSERPASS -x http://10.20.2.60:8080 ^
-b cookies.txt -c newcookie.txt https://bop.vodafone.de/bop/portal/logon.vf ^
-d "org.apache.struts.taglib.html.TOKEN=23483225fc59dbdb55d67cc1fca496b6&vftoken=&x5_action.x=&name=SITEUSER&vfuserpassword=SITEUSERPASS&ok=true" ^
-o report.csv "https://bop.vodafone.de/bop/ebp/app/billpresentment/phoneoverview?invoice_number=123456789&phone_number=0162212345&exportReportName=phoneoverview&exportReportType=csv"

another try:

::Login & save cookie
curl ^
-U PROXYUSER:PROXYUSERPASS -x http://10.20.2.60:8080 ^
-c 1cookies.txt ^
-d "org.apache.struts.taglib.html.TOKEN=23483225fc59dbdb55d67cc1fca496b6&vftoken=&x5_action.x=&name=SITEUSER&vfuserpassword=SITEUSERPASS&vfuserpassword=psion05user&ok=true" ^
https://bop.vodafone.de/bop/portal/logon.vf

::Load cookie & Download
curl ^
-U PROXYUSER:PROXYUSERPASS -x http://10.20.2.60:8080 ^
-b 1cookies.txt ^
-o report.csv "https://bop.vodafone.de/bop/ebp/app/billpresentment/phoneoverview?invoice_number=106001123456&phone_number=01622123456&exportReportName=phoneoverview&exportReportType=csv"
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-18