cURL / Mailing Lists / curl-users / Single Mail

curl-users

cURL output is very skinny

From: Will Weatherford <fiveweatherfords_at_gmail.com>
Date: Mon, 10 Sep 2007 15:37:47 -0400

I issue this cURL command:

curl --insecure -v -A "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;.NET
CLR 2.0.50727; InfoPath.1; .NET CLR 1.1.4322)" -u MarkNet:administrator -e
https://157.184.14.68/cgi-bin/dynamic/config/gen/fax/holdingfax.html -d
1.mfp.7.13=snort -d 0.mfp.7.12=1 -o
"C:\Dev\FaxHold\FaxHold\Output\157.184.14.68Schedule.txt"
https://157.184.14.68/cgi-bin/dynamic/config/gen/fax/holdingfax.html

And 157.184.14.68Schedule.txt looks like:

<HTML><HEAD><META HTTP-EQUIV="refresh" CONTENT="2;
url=/cgi-bin/dynamic/config/gen/fax/fax.html"; charset=UTF-8><LINK
REL="stylesheet" HREF="/configStyle.css" TYPE="text/css">
<TITLE>Submitting selection</TITLE>
</HEAD>
<BODY><H1>Submitting selection</H1></BODY></HTML>

I thought I should see in this file the same output I get to the DOS box:

* About to connect() to 157.184.14.68 port 443
* Trying 157.184.14.68... connected
* Connected to 157.184.14.68 (157.184.14.68) port 443
* SSLv2, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS handshake, Server finished (14):
SSLv3, TLS handshake, Client key exchange (16):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSL connection using AES256-SHA
* Server certificate:
* subject: /O=Lexmark
Int./OU=PS&SD/L=Lexington/ST=Kentucky/C=US/CN=ET000
400F3AF2C.
* start date: 2007-05-15 16:01:00 GMT
* expire date: 2010-05-14 16:01:00 GMT
* common name: ET000400F3AF2C. (does not match '157.184.14.68')
* issuer: /O=Lexmark
Int./OU=PS&SD/L=Lexington/ST=Kentucky/C=US/CN=ET0004
00F3AF2C.
* SSL certificate verify result: error number 1 (18), continuing anyway.
* Server auth using Basic with user 'MarkNet'
> POST /cgi-bin/dynamic/config/gen/fax/holdingfax.html HTTP/1.1
> Authorization: Basic TWFya05ldDphZG1pbmlzdHJhdG9y
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;.NET CLR
2.0.507
27; InfoPath.1; .NET CLR 1.1.4322)
> Host: 157.184.14.68
> Accept: */*
> Referer:
https://157.184.14.68/cgi-bin/dynamic/config/gen/fax/holdingfax.html
> Content-Length: 29
> Content-Type: application/x-www-form-urlencoded
>
> 1.mfp.7.13=snort&0.mfp.7.12=1HTTP/1.0 200 OK
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0<
Content-Type: text/html
< Content-Length: 274
100 274 100 274 0 0 402 0 --:--:-- --:--:-- --:--:--
133k*
Closing connection #0
* SSLv3, TLS alert, Client hello (1):

Any way to get this "full" output, or to get more complete output? I am
wanting to be able to read if my intended settings "took" on the target.
Received on 2007-09-10