Last active
December 2, 2022 13:20
-
-
Save arnaudgeiser/6cbadf95c08252c4c2203c724f049234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ curl -v -s -H "Cookie: session=<REDACTED> https://adventofcode.com/2022/day/2/input 2>&1 | head -100 | |
* Trying 3.94.124.104:443... | |
* Connected to adventofcode.com (3.94.124.104) port 443 (#0) | |
* ALPN, offering h2 | |
* ALPN, offering http/1.1 | |
* successfully set certificate verify locations: | |
* CAfile: /etc/ssl/certs/ca-certificates.crt | |
* CApath: /etc/ssl/certs | |
} [5 bytes data] | |
* TLSv1.3 (OUT), TLS handshake, Client hello (1): | |
} [512 bytes data] | |
* TLSv1.3 (IN), TLS handshake, Server hello (2): | |
{ [98 bytes data] | |
* TLSv1.2 (IN), TLS handshake, Certificate (11): | |
{ [4962 bytes data] | |
* TLSv1.2 (IN), TLS handshake, Server key exchange (12): | |
{ [333 bytes data] | |
* TLSv1.2 (IN), TLS handshake, Server finished (14): | |
{ [4 bytes data] | |
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16): | |
} [70 bytes data] | |
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): | |
} [1 bytes data] | |
* TLSv1.2 (OUT), TLS handshake, Finished (20): | |
} [16 bytes data] | |
* TLSv1.2 (IN), TLS handshake, Finished (20): | |
{ [16 bytes data] | |
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 | |
* ALPN, server accepted to use h2 | |
* Server certificate: | |
* subject: CN=adventofcode.com | |
* start date: Jul 1 00:00:00 2022 GMT | |
* expire date: Jul 30 23:59:59 2023 GMT | |
* subjectAltName: host "adventofcode.com" matched cert's "adventofcode.com" | |
* issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon | |
* SSL certificate verify ok. | |
* Using HTTP2, server supports multi-use | |
* Connection state changed (HTTP/2 confirmed) | |
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 | |
} [5 bytes data] | |
* Using Stream ID: 1 (easy handle 0x564e2413e5f0) | |
} [5 bytes data] | |
> GET /2022/day/2/input HTTP/2 | |
> Host: adventofcode.com | |
> user-agent: curl/7.74.0 | |
> accept: */* | |
> cookie: session=53616c7465645f5f1706c85df73e1def4c652a93ec05fd33a7a133c713edc5fc822dd249b95f936f0d1f9fc377a0e2d03d35826dd1938815912bc690dc8ef77d | |
> | |
{ [5 bytes data] | |
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)! | |
} [5 bytes data] | |
< HTTP/2 200 | |
< date: Fri, 02 Dec 2022 11:44:11 GMT | |
< content-type: text/plain | |
< content-length: 10000 | |
< server: Apache | |
< server-ip: 172.31.59.243 | |
< vary: Accept-Encoding | |
< strict-transport-security: max-age=300 | |
< | |
{ [10000 bytes data] | |
B Y | |
A X | |
C Z | |
A Z | |
B Y | |
B Y | |
A X | |
C Z | |
B Y | |
B Y | |
C Z | |
C X | |
B Y | |
C Z | |
B Y | |
C Z | |
A Z | |
A Z | |
A X | |
B Y | |
A X | |
C Z | |
C Y | |
C Z | |
C Z | |
C Z | |
A X | |
A X | |
B Y | |
A Z | |
B Z | |
B Y | |
A X | |
A X | |
C Z | |
B Y | |
B Y | |
B Z | |
A Z | |
A X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment