Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

This works too

  exec 3<>/dev/tcp/example.com/80
  printf 'GET / HTTP/1.1\r
  Host: example.com\r
  Connection: close\r
  \r
  ' >&3
  cat <&3
You can even take out the \r though they should be there


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: