GTKC Knowledgebase
A little bit of wisdom
Spoof an HTTP referrer
Posted by  Admin on


I wanted to view the response issued by a web server to a specific URL request and this required spoofing the referrer.

This can be done with Curl or Wget as below:

curl
curl -e "http://example.com/some/path" http://example.com/

wget
wget -O - --referer="http://example.com/some/path" http://example.com/

Tags: Internet , Linux , curl , wget

Return to home page: Home