Added a comment
author94.36.182.141 <94.36.182.141@web>
Mon, 8 Feb 2010 21:12:48 +0000 (21:12 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Mon, 8 Feb 2010 21:12:48 +0000 (21:12 +0000)
blog/posts/2009/11/script_per_scaricare_il_fatto_da_abbonati/comment_8._comment [new file with mode: 0644]

diff --git a/blog/posts/2009/11/script_per_scaricare_il_fatto_da_abbonati/comment_8._comment b/blog/posts/2009/11/script_per_scaricare_il_fatto_da_abbonati/comment_8._comment
new file mode 100644 (file)
index 0000000..129e291
--- /dev/null
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ ip="94.36.182.141"
+ claimedauthor="Umberto"
+ date="2010-02-08T21:12:44Z"
+ content="""
+Ciao, volendo provare un metodo alternativo per utenti win mi sto avventurando in una script per fare login via CURL con metodo post, qualcosa tipo:
+
+set CURL_URL=http://www.antefatto.it/servizi/login/login.aspx?redirect=/servizi/pdf/pdfselect.aspx
+set CURL_POST=-d \"Login1$UserName=%USERID%&Login1$Password=%PASSWORD%&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%VIEWSTATE%&__EVENTVALIDATION=%EVENTVALIDATION%\"
+curl.exe %CURL_POST% %CURL_URL%
+
+Purtroppo prendo sempre errori tipo 
+[ViewStateException: Invalid viewstate. 
+       Client IP: xx.xx.xx.xx
+       Port: 2316
+       User-Agent: curl/7.12.0 (i386-pc-win32) libcurl/7.12.0 zlib/1.2.1
+       ViewState: '/wEPDwUKMTY1MjA5MzAyOWWEYQUeX19Db250cm9sasJlcXVpcmVQb3N0QmFja0tleV9fFgIFEUxvZ2luMSRSZW1lbWJlck234ssMb2dpbjEkTG9naW5JbWFnZUJ1dHRvbjfjyH746ajNdVv6tHEQVjYewAqH'
+
+Qualcuno sa dirmi se ho qualche speranza di riuscire o se √® una strada che non mi porter√† a nulla?
+
+"""]]