Skip to content

Instantly share code, notes, and snippets.

View kfcampbell's full-sized avatar

Keegan Campbell kfcampbell

View GitHub Profile
@kfcampbell
kfcampbell / curl-ua.shell
Created October 27, 2023 19:05 — forked from pengwynn/curl-ua.shell
Pass a User-Agent header with curl
curl -v --user-agent "dartvoid/0.1 (https://github.com/dartvoid\) terminal/0.0" https://api.github.com/users/dartvoid
* About to connect() to api.github.com port 443 (#0)
* Trying 207.97.227.243...
* connected
* Connected to api.github.com (207.97.227.243) port 443 (#0)
* SSLv3, TLS handshake, 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):