-
Notifications
You must be signed in to change notification settings - Fork 7
curl
Shawfeng Dong edited this page Nov 3, 2016
·
2 revisions
TeraView requires cookies:
$ curl -v \ -b "TerascalaCookie=true; nagios_user=nagiosadmin" \ -o status.html \ http://10.6.8.2/nagios/cgi-bin/status.cgi * About to connect() to 10.6.8.2 port 80 (#0) * Trying 10.6.8.2... connected * Connected to 10.6.8.2 (10.6.8.2) port 80 (#0) > GET /nagios/cgi-bin/status.cgi HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: 10.6.8.2 > Accept: */* > Cookie: TerascalaCookie=true; nagios_user=nagiosadmin > % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/1.1 200 OK < Date: Fri, 24 Jul 2015 22:22:30 GMT < Server: Apache/2.2.15 (CentOS) < Cache-Control: no-store < Pragma: no-cache < Refresh: 5 < Expires: Thu, 01 Jan 1970 00:00:00 GMT < Last-Modified: Fri, 24 Jul 2015 22:22:30 GMT < Connection: close < Transfer-Encoding: chunked < Content-Type: text/html; charset=UTF-8 < { [data not shown] 100 108k 0 108k 0 0 6864k 0 --:--:-- --:--:-- --:--:-- 7202k* Closing connection #0