Using NetCat to retrieve HTTP

 
Connect to host.example.com on port 80 using netcat and then send "GET / HTTP/1.0\r\n\r\n" to
ther server

echo -n "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80

Comments

Popular Posts