Skip to content

Instantly share code, notes, and snippets.

@haplabs
Forked from JPry/curl.sh
Created April 8, 2019 15:47
Show Gist options
  • Save haplabs/3926818b494afdbe45cd02b2f12920d8 to your computer and use it in GitHub Desktop.
Save haplabs/3926818b494afdbe45cd02b2f12920d8 to your computer and use it in GitHub Desktop.
Use CURL to request a domain name/path from a specific IP address. Substitute the domain for "example.com", and the IP address and path in the URL.
curl -H "Host: example.com" -I http://IP.ADD.RE.SS/path/to/file/or/folder/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment