Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r tuxfight3r/
Last active Oct 3, 2019

What would you like to do?
curl tricks

curl connect to https domain using ip

curl --resolve --cacert adcacrt.crt -v

curl use proxy

# http proxy
curl -v -x -L

# socks proxy
curl --socks5-hostname localhost:8001

curl download a file

# Save as yourfile.tar.gz
curl -O

# Save as newfile.tar.gz
curl -o newfile.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.