Tag Info

New answers tagged

0

When I tried the nc command you used it hung and never exited. So I added the -q 2 option to timeout after 2 seconds and it works for me: chicks@silver 17:34:54 ~ !548 $ echo "foo" | nc -u 127.0.0.1 7777 -q 2 > /tmp/z chicks@silver 17:34:59 ~ !549 $ cat /tmp/z foo So you just have to pick a timeout you can live with. :)


0

ncat --ssl from nmap worked well for me: printf 'GET / HTTP/1.1\r\nHost: github.com\r\n\r\n' | ncat --ssl github.com 443



Top 50 recent answers are included