Wednesday, October 8, 2008

Bash socket programming


  • exec 3<>/dev/tcp/www.google.com/80
  • echo -e "GET / HTTP/1.1\n\n">&3
  • cat <&3
  •