Forum Discussion
Need to check for a specific output of a webpage
Output:
:>curl -v -k "https://XYZLM01:8443/arsys/servlet/LoginServlet?goto=http://XYZLM01:8080/arsys/forms/remXYZapp/SHR%3ALandingConsole/Default+Administrator+View/?format=html&server=remXYZapp&username=XUSER&pwd=XUSER" * Hostname was NOT found in DNS cache * Trying 1.1.1.1... * Connected to XYZLM01 (1.1.1.1) port 8443 (0) * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server key exchange (12): * 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 TLSv1.2 / ECDHE-RSA-DES-CBC3-SHA * Server certificate: * subject: C=US; ST=XX; L=XXXX; O=XXXX; OU=XXXX; CN=XYZLM01.XXXX.dns.com * start date: 2014-02-20 14:31:44 GMT * expire date: 2018-02-19 14:31:44 GMT * issuer: DC=COM; DC=dns; CN=XXXX-EntSubCA-Private * SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
GET /arsys/servlet/LoginServlet?goto=http://XYZLM01:8080/arsys/forms/remXYZapp/SHR%3ALandingConsole/Default+Administrator+View/?format=html&server=remXYZapp&username=XUSER&pwd=XUSER HTTP/1.1 User-Agent: curl/7.36.0 Host: XYZLM01:8443 Accept: /
< HTTP/1.1 200 OK * Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 < Pragma: No-cache < Cache-Control: no-cache < Expires: Wed, 31 Dec 1969 18:00:00 CST < Set-Cookie: JSESSIONID=7B548C534D01148494F3A68410FA0D5A; Path=/arsys; Secure < Content-Type: text/html;charset=UTF-8 < Transfer-Encoding: chunked < Date: Mon, 05 May 2014 16:55:45 GMT <
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com