Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
curl [04/01/2019 - 14:38] – thommie3 | curl [05/03/2024 - 10:52] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== CURL ====== | ====== CURL ====== | ||
+ | |||
+ | https:// | ||
[[https:// | [[https:// | ||
Zeile 5: | Zeile 7: | ||
[[https:// | [[https:// | ||
- | ===== \\ | + | \\ |
- | Request/ | + | Request/ |
+ | < | ||
- | thommie@locutus:~> curl -iv –head locutus.netzwissen.loc:3128 [[https:// | + | root@docs:~# curl -iv --head https://www.netzwissen.de |
- | + | * Rebuilt URL to: https:// | |
- | <file> | + | * |
+ | * TCP_NODELAY set | ||
+ | * Connected to www.netzwissen.de (138.201.52.53) port 443 (#0) | ||
+ | * ALPN, offering h2 | ||
+ | * ALPN, offering http/1.1 | ||
+ | * successfully set certificate verify locations: | ||
+ | * | ||
+ | CApath: / | ||
+ | * TLSv1.3 (OUT), TLS handshake, Client hello (1): | ||
+ | * TLSv1.3 (IN), TLS handshake, Server hello (2): | ||
+ | * TLSv1.2 (IN), TLS handshake, Certificate (11): | ||
+ | * TLSv1.2 (IN), TLS handshake, Server key exchange (12): | ||
+ | * TLSv1.2 (IN), TLS handshake, Server finished (14): | ||
+ | * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): | ||
+ | * TLSv1.2 (OUT), TLS change cipher, Client hello (1): | ||
+ | * TLSv1.2 (OUT), TLS handshake, Finished (20): | ||
+ | * TLSv1.2 (IN), TLS handshake, Finished (20): | ||
+ | * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305 | ||
+ | * ALPN, server accepted to use http/1.1 | ||
+ | * Server certificate: | ||
+ | * subject: CN=www2.netzwissen.de | ||
+ | * start date: Nov 27 15:13:22 2019 GMT | ||
+ | * expire date: Feb 25 15:13:22 2020 GMT | ||
+ | * subjectAltName: | ||
+ | * issuer: C=US; O=Let' | ||
+ | * SSL certificate verify ok.> HEAD / HTTP/ | ||
+ | < | ||
+ | HTTP/1.1 301 Moved Permanently | ||
+ | <Date: Sat, 21 Dec 2019 07:09:44 GMT | ||
+ | Date: Sat, 21 Dec 2019 07:09:44 GMT | ||
+ | <Server: Apache/ | ||
+ | Server: Apache/ | ||
+ | < | ||
+ | Strict-Transport-Security: | ||
+ | < | ||
+ | X-Content-Type-Options: | ||
+ | < | ||
+ | Set-Cookie: 21529421b0cb0cfcd6db3ee5cf2b926a=f0uvjqlmf5eos249i316kh3hfr; | ||
+ | < | ||
+ | Expires: Wed, 17 Aug 2005 00:00:00 GMT | ||
+ | < | ||
+ | Last-Modified: | ||
+ | < | ||
+ | Cache-Control: | ||
+ | <Pragma: no-cache | ||
+ | Pragma: no-cache | ||
+ | < | ||
+ | Location: https:// | ||
+ | <Content-Type: | ||
+ | Content-Type: | ||
- | '' | + | <* Connection |
- | '' | ||
</ | </ | ||
Geht auch mit https für selbst signierte Zertifikate, | Geht auch mit https für selbst signierte Zertifikate, | ||
- | == Info: Hostname was NOT found in DNS cache\\ | + | < |
- | == Info: Trying 5.9.175.13…\\ | + | == Info: Hostname was NOT found in DNS cache |
- | == Info: Connected to www.netzwissen.de | + | == Info: Trying 5.9.175.13… |
- | == Info: successfully set certificate verify locations:\\ | + | == Info: Connected to www.netzwissen.de (5.9.175.13) port 443 (#0) |
- | == Info: CAfile: none\\ | + | == Info: successfully set certificate verify locations: |
- | CApath: / | + | == Info: CAfile: none |
- | == Info: SSLv3, TLS Unknown, Unknown (22):\\ | + | CApath: / |
- | ⇒ Send SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv3, TLS Unknown, Unknown (22): |
- | 0000: …..\\ | + | ⇒ Send SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS handshake, Client hello (1):\\ | + | 0000: ….. |
- | ⇒ Send SSL data, 194 bytes (0xc2)\\ | + | == Info: SSLv3, TLS handshake, Client hello (1): |
- | 0000: ……=hf.E^..< | + | ⇒ Send SSL data, 194 bytes (0xc2) |
- | 0040: k.9…..g.3.E…=.5…..< | + | 0000: ……=hf.E^..< |
- | 0080: ………………………. ……………………………..\\ | + | 0040: k.9…..g.3.E…=.5…..< |
- | 00c0: ..\\ | + | 0080: ………………………. …………………………….. |
- | == Info: SSLv2, Unknown (22):\\ | + | 00c0: .. |
- | <= Recv SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (22): |
- | 0000: ….b\\ | + | <= Recv SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS handshake, Server hello (2):\\ | + | 0000: ….b |
- | <= Recv SSL data, 98 bytes (0x62)\\ | + | == Info: SSLv3, TLS handshake, Server hello (2): |
- | 0000: …^…..# | + | <= Recv SSL data, 98 bytes (0x62) |
- | 0040: l$ …i./ | + | 0000: …^…..# |
- | == Info: SSLv2, Unknown (22):\\ | + | 0040: l$ …i./ |
- | <= Recv SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (22): |
- | 0000: …..\\ | + | <= Recv SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS handshake, CERT (11):\\ | + | 0000: ….. |
- | <= Recv SSL data, 2476 bytes (0x9ac)\\ | + | == Info: SSLv3, TLS handshake, CERT (11): |
- | […]\\ | + | <= Recv SSL data, 2476 bytes (0x9ac) |
- | ⇒ Send SSL data, 5 bytes (0x5)\\ | + | […] |
- | 0000: …..\\ | + | ⇒ Send SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS change cipher, Client hello (1):\\ | + | 0000: ….. |
- | ⇒ Send SSL data, 1 bytes (0x1)\\ | + | == Info: SSLv3, TLS change cipher, Client hello (1): |
- | 0000: .\\ | + | ⇒ Send SSL data, 1 bytes (0x1) |
- | == Info: SSLv2, Unknown (22):\\ | + | 0000: . |
- | ⇒ Send SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (22): |
- | 0000: ….(\\ | + | ⇒ Send SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS handshake, Finished (20):\\ | + | 0000: ….( |
- | ⇒ Send SSL data, 16 bytes (0x10)\\ | + | == Info: SSLv3, TLS handshake, Finished (20): |
- | 0000: …..Kr.F.s…|? | + | ⇒ Send SSL data, 16 bytes (0x10) |
- | == Info: SSLv2, Unknown (20):\\ | + | 0000: …..Kr.F.s…|? |
- | <= Recv SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (20): |
- | 0000: …..\\ | + | <= Recv SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS change cipher, Client hello (1):\\ | + | 0000: ….. |
- | <= Recv SSL data, 1 bytes (0x1)\\ | + | == Info: SSLv3, TLS change cipher, Client hello (1): |
- | 0000: .\\ | + | <= Recv SSL data, 1 bytes (0x1) |
- | == Info: SSLv2, Unknown (22):\\ | + | 0000: . |
- | <= Recv SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (22): |
- | 0000: ….(\\ | + | <= Recv SSL data, 5 bytes (0x5) |
- | == Info: SSLv3, TLS handshake, Finished (20):\\ | + | 0000: ….( |
- | <= Recv SSL data, 16 bytes (0x10)\\ | + | == Info: SSLv3, TLS handshake, Finished (20): |
- | 0000: ……x7..m….3\\ | + | <= Recv SSL data, 16 bytes (0x10) |
- | == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256\\ | + | 0000: ……x7..m….3 |
- | == Info: Server certificate: | + | == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 |
- | == Info: subject: CN= www.netzwissen.de | + | == Info: Server certificate: |
- | == Info: start date: 2018-01-08 01:45:24 GMT\\ | + | == Info: subject: CN= www.netzwissen.de |
- | == Info: expire date: 2018-04-08 01:45:24 GMT\\ | + | == Info: start date: 2018-01-08 01:45:24 GMT |
- | == Info: subjectAltName: | + | == Info: expire date: 2018-04-08 01:45:24 GMT |
- | == Info: issuer: C=US; O=Let' | + | == Info: subjectAltName: |
- | == Info: SSL certificate verify ok.\\ | + | == Info: issuer: C=US; O=Let' |
- | == Info: SSLv2, Unknown (23):\\ | + | == Info: SSL certificate verify ok. |
- | ⇒ Send SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (23): |
- | 0000: ….r\\ | + | ⇒ Send SSL data, 5 bytes (0x5) |
- | ⇒ Send header, 90 bytes (0x5a)\\ | + | 0000: ….r |
- | 0000: GET /owncloud/ HTTP/1.1\\ | + | ⇒ Send header, 90 bytes (0x5a) |
- | 0019: User-Agent: curl/7.37.0\\ | + | 0000: GET /owncloud/ HTTP/1.1 |
- | 0032: Host: [[http://www.netzwissen.de|www.netzwissen.de]]\\ | + | 0019: User-Agent: curl/ |
- | 004b: Accept: */*\\ | + | 0032: Host: www.netzwissen.de |
- | 0058:\\ | + | 004b: Accept: */* |
- | == Info: SSLv2, Unknown (23):\\ | + | 0058: |
- | <= Recv SSL data, 5 bytes (0x5)\\ | + | == Info: SSLv2, Unknown (23): |
- | 0000: ….$\\ | + | <= Recv SSL data, 5 bytes (0x5) |
- | <= Recv header, 20 bytes (0x14)\\ | + | 0000: ….$ |
- | 0000: HTTP/1.1 302 Found\\ | + | <= Recv header, 20 bytes (0x14) |
- | <= Recv header, 37 bytes (0x25)\\ | + | 0000: HTTP/1.1 302 Found |
- | 0000: Date: Mon, 15 Jan 2018 12:57:16 GMT\\ | + | <= Recv header, 37 bytes (0x25) |
- | == Info: Server Apache is not blacklisted\\ | + | 0000: Date: Mon, 15 Jan 2018 12:57:16 GMT |
- | <= Recv header, 16 bytes (0x10)\\ | + | == Info: Server Apache is not blacklisted |
- | 0000: Server: Apache\\ | + | <= Recv header, 16 bytes (0x10) |
- | <= Recv header, 64 bytes (0x40)\\ | + | 0000: Server: Apache |
- | 0000: Strict-Transport-Security: | + | <= Recv header, 64 bytes (0x40) |
- | <= Recv header, 80 bytes (0x50)\\ | + | 0000: Strict-Transport-Security: |
- | 0000: Set-Cookie: 52401d632a450=d41rivsekv3g0u91lrberil374; | + | <= Recv header, 80 bytes (0x50) |
- | 0040: loud; HttpOnly\\ | + | 0000: Set-Cookie: 52401d632a450=d41rivsekv3g0u91lrberil374; |
- | <= Recv header, 40 bytes (0x28)\\ | + | 0040: loud; HttpOnly |
- | 0000: Expires: Thu, 19 Nov 1981 08:52:00 GMT\\ | + | <= Recv header, 40 bytes (0x28) |
- | <= Recv header, 52 bytes (0x34)\\ | + | 0000: Expires: Thu, 19 Nov 1981 08:52:00 GMT |
- | 0000: Cache-Control: | + | <= Recv header, 52 bytes (0x34) |
- | <= Recv header, 18 bytes (0x12)\\ | + | 0000: Cache-Control: |
- | 0000: Pragma: no-cache\\ | + | <= Recv header, 18 bytes (0x12) |
- | <= Recv header, 203 bytes (0xcb)\\ | + | 0000: Pragma: no-cache |
- | 0000: Set-Cookie: oc_sessionPassphrase=qWyjYXC7eQ7r7vVBGHXtwX9oPZlXT65\\ | + | <= Recv header, 203 bytes (0xcb) |
- | 0040: rUVrDI7mbVwfURHhS3YTRdrTHEcUVDCzsbvI%2B1RAz%2FGGpqbgdTeewiFIn8Wd\\ | + | 0000: Set-Cookie: oc_sessionPassphrase=qWyjYXC7eQ7r7vVBGHXtwX9oPZlXT65 |
- | 0080: zszvm2mVyLgAPrYyi%2FNm6E3nB5LrtN0HhtWyF; | + | 0040: rUVrDI7mbVwfURHhS3YTRdrTHEcUVDCzsbvI%2B1RAz%2FGGpqbgdTeewiFIn8Wd |
- | 00c0: HttpOnly\\ | + | 0080: zszvm2mVyLgAPrYyi%2FNm6E3nB5LrtN0HhtWyF; |
- | <= Recv header, 199 bytes (0xc7)\\ | + | 00c0: HttpOnly |
- | 0000: Content-Security-Policy: | + | <= Recv header, 199 bytes (0xc7) |
- | 0040: unsafe-eval'; | + | 0000: Content-Security-Policy: |
- | 0080: -src * data: blob:; font-src ' | + | 0040: unsafe-eval'; |
- | 00c0: src *\\ | + | 0080: -src * data: blob:; font-src ' |
- | <= Recv header, 62 bytes (0x3e)\\ | + | 00c0: src * |
- | 0000: Location: | + | <= Recv header, 62 bytes (0x3e) |
- | <= Recv header, 33 bytes (0x21)\\ | + | 0000: Location: https:// |
- | 0000: X-Content-Type-Options: | + | <= Recv header, 33 bytes (0x21) |
- | <= Recv header, 33 bytes (0x21)\\ | + | 0000: X-Content-Type-Options: |
- | 0000: X-XSS-Protection: | + | <= Recv header, 33 bytes (0x21) |
- | <= Recv header, 20 bytes (0x14)\\ | + | 0000: X-XSS-Protection: |
- | 0000: X-Robots-Tag: | + | <= Recv header, 20 bytes (0x14) |
- | <= Recv header, 29 bytes (0x1d)\\ | + | 0000: X-Robots-Tag: |
- | 0000: X-Frame-Options: | + | <= Recv header, 29 bytes (0x1d) |
- | <= Recv header, 28 bytes (0x1c)\\ | + | 0000: X-Frame-Options: |
- | 0000: X-Download-Options: | + | <= Recv header, 28 bytes (0x1c) |
- | <= Recv header, 41 bytes (0x29)\\ | + | 0000: X-Download-Options: |
- | 0000: X-Permitted-Cross-Domain-Policies: | + | <= Recv header, 41 bytes (0x29) |
- | <= Recv header, 19 bytes (0x13)\\ | + | 0000: X-Permitted-Cross-Domain-Policies: |
- | 0000: Content-Length: | + | <= Recv header, 19 bytes (0x13) |
- | <= Recv header, 40 bytes (0x28)\\ | + | 0000: Content-Length: |
- | 0000: Content-Type: | + | <= Recv header, 40 bytes (0x28) |
- | <= Recv header, 2 bytes (0x2)\\ | + | 0000: Content-Type: |
- | 0000:\\ | + | <= Recv header, 2 bytes (0x2) |
- | == Info: Connection #0 to host [[http://www.netzwissen.de|www.netzwissen.de]] | + | 0000: |
+ | == Info: Connection #0 to host www.netzwissen.de left intact | ||
+ | |||
+ | </ | ||
Mit Zeit Informationen | Mit Zeit Informationen | ||
Zeile 162: | Zeile 216: | ||
0000: …^…? | 0000: …^…? | ||
0040: .C.~& | 0040: .C.~& | ||
- | |||