From: Gerfried Fuchs Date: Mon, 12 Apr 2010 15:56:56 +0000 (+0200) Subject: makes the netcat tip work with virtual hosts, too (closes: http://identi.ca/notice... X-Git-Tag: v0.5.0~4 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=5ea36996e45d4ce9fd55f6a07f49f5a22bd774aa;p=grml-tips.git makes the netcat tip work with virtual hosts, too (closes: identi.ca/notice/28215173) --- diff --git a/grml_tips b/grml_tips index 29df0c6..34e2e8f 100644 --- a/grml_tips +++ b/grml_tips @@ -627,7 +627,7 @@ Read BIOS: -- Read HTTP via netcat: -echo -e "GET / HTTP/1.0\r\n\r\n" | netcat $DOMAIN 80 +echo -e "GET / HTTP/1.1\r\nHost: $DOMAIN\r\n\r\n" | netcat $DOMAIN 80 -- Get X ressources for specific program: